aboutsummaryrefslogtreecommitdiff
path: root/config/sway/inputs
diff options
context:
space:
mode:
Diffstat (limited to 'config/sway/inputs')
-rw-r--r--config/sway/inputs14
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