diff options
-rw-r--r-- | .config/qtile/config.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/qtile/config.py b/.config/qtile/config.py index aa00e5c..4f35ccf 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -94,6 +94,13 @@ def init_widgets_list(): fontsize=12, foreground=monokai["green"],), widget.Spacer(length=10,), + widget.KeyboardLayout( + configured_keyboards = ['us','gr','bg phonetic'], + fontsize = 12, + display_map = {'us':'US', 'gr':'EL', 'bg phonetic':'BG'}, + padding = 15, + fmt = "[{}]" + ), widget.Image( filename="~/.config/qtile/volume1.png", scale=True,), @@ -230,6 +237,7 @@ keys = [ Key([],"XF86AudioLowerVolume",lazy.spawn("amixer sset Master 5%-")), Key([],"XF86AudioRaiseVolume",lazy.spawn("amixer sset Master 5%+")), # Keyboard + Key([mod], "space", lazy.widget["keyboardlayout"].next_keyboard(), desc="Next keyboard layout."), Key([],"F9", lazy.spawn("setxkbmap gr -option ctrl:swapcas")), Key([],"F10", lazy.spawn("setxkbmap us -option ctrl:swapcaps")), # Thinkpad |