aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/sway/bindsym-input4
-rw-r--r--config/sway/bindsym-layout13
2 files changed, 4 insertions, 13 deletions
diff --git a/config/sway/bindsym-input b/config/sway/bindsym-input
new file mode 100644
index 0000000..2ff5d1a
--- /dev/null
+++ b/config/sway/bindsym-input
@@ -0,0 +1,4 @@
+# vim: ft=swayconfig
+# 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 --files all
diff --git a/config/sway/bindsym-layout b/config/sway/bindsym-layout
deleted file mode 100644
index 7c2aa2d..0000000
--- a/config/sway/bindsym-layout
+++ /dev/null
@@ -1,13 +0,0 @@
-# vim: ft=swayconfig
-set $mode_layout Set keyboard layout (u)s or (c)z
-mode "$mode_layout" {
- bindsym u input type:keyboard xkb_variant basic, input type:keyboard xkb_layout us, mode "default"
- bindsym c input type:keyboard xkb_layout cz, input type:keyboard xkb_variant 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