aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-03-13 11:47:48 +0100
committerKarel Kočí <cynerd@email.cz>2024-03-13 11:47:48 +0100
commit763088cc58aff67c6eca2a27948916a5a01d429b (patch)
tree7064fa71fa3aa356e48809f5d4596cf43463eea1 /config
parentd6a51f0a5a7d2327c8dc976bd5171f102de40af5 (diff)
downloadmyconfigs-763088cc58aff67c6eca2a27948916a5a01d429b.tar.gz
myconfigs-763088cc58aff67c6eca2a27948916a5a01d429b.tar.bz2
myconfigs-763088cc58aff67c6eca2a27948916a5a01d429b.zip
sway: replace files correctly
Diffstat (limited to 'config')
-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