add kb layout
This commit is contained in:
parent
2ac148ca02
commit
6202536df7
|
@ -7,6 +7,7 @@ autostart = [
|
|||
"nm-applet",
|
||||
# ["/usr/local/bin/picom", "--experimental-backend"],
|
||||
["nitrogen", "--restore"],
|
||||
["ibus-daemon" "--xim"],
|
||||
]
|
||||
|
||||
|
||||
|
|
|
@ -66,6 +66,11 @@ def _get_powerline_arrow(direction: _PowerLineDirection, accent: _Accent, end=Fa
|
|||
)
|
||||
|
||||
|
||||
_keylayout = widget.KeyboardLayout(
|
||||
**get_defaults(),
|
||||
fmt=" {}",
|
||||
)
|
||||
|
||||
_net = widget.Net(
|
||||
**get_defaults(),
|
||||
background=my_globals.colors["accent-dark"],
|
||||
|
@ -189,6 +194,7 @@ def _get_bar_contents(primary=False):
|
|||
),
|
||||
_window_name,
|
||||
widget.Spacer(**get_defaults(), length=bar.STRETCH),
|
||||
_keylayout,
|
||||
_updates,
|
||||
_get_powerline_arrow(
|
||||
_PowerLineDirection.RIGHT,
|
||||
|
|
Loading…
Reference in New Issue