diff options
author | Karel Kočí <cynerd@email.cz> | 2022-07-02 09:43:06 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-07-02 09:43:06 +0200 |
commit | c49abeb1a3e2b526dda17e71bccba1630360470f (patch) | |
tree | 5fbd39d3919cca5dc7d2eb0f2aa4f64d19b543c5 /config/sway/inputs | |
parent | c0d3adb0276937cd08642ed1e6e69ec83ee5bb49 (diff) | |
download | myconfigs-c49abeb1a3e2b526dda17e71bccba1630360470f.tar.gz myconfigs-c49abeb1a3e2b526dda17e71bccba1630360470f.tar.bz2 myconfigs-c49abeb1a3e2b526dda17e71bccba1630360470f.zip |
Use Nord color theme
Diffstat (limited to 'config/sway/inputs')
-rw-r--r-- | config/sway/inputs | 14 |
1 files changed, 14 insertions, 0 deletions
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 |