From c49abeb1a3e2b526dda17e71bccba1630360470f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 2 Jul 2022 09:43:06 +0200 Subject: Use Nord color theme --- config/sway/inputs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'config/sway/inputs') diff --git a/config/sway/inputs b/config/sway/inputs index 235105e..3569df9 100644 --- a/config/sway/inputs +++ b/config/sway/inputs @@ -17,6 +17,20 @@ seat '*' { hide_cursor when-typing disable } +## Layout switching ############################################################ +set $mode_layout Set keyboard layout (u)s or (c)z +mode "$mode_layout" { + bindsym u input type:keyboard xkb_layout us, mode "default" + bindsym c input type:keyboard xkb_layout cz_qwerty, mode "default" + bindsym Return mode "default" + bindsym Escape mode "default" +} +bindsym --to-code $mod+slash mode "$mode_layout" + +# Type emoji +bindsym --to-code $mod+period exec rofimoji --selector wofi --skin-tone neutral +bindsym --to-code $mod+Shift+period exec rofimoji --selector wofi --skin-tone neutral --action copy + ## Susan inputs ################################################################ input '9610:33:HAILUCK_CO.,LTD_USB_KEYBOARD_Mouse' { middle_emulation enabled -- cgit v1.2.3