From 763088cc58aff67c6eca2a27948916a5a01d429b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 13 Mar 2024 11:47:48 +0100 Subject: sway: replace files correctly --- config/sway/bindsym-input | 4 ++++ config/sway/bindsym-layout | 13 ------------- 2 files changed, 4 insertions(+), 13 deletions(-) create mode 100644 config/sway/bindsym-input delete mode 100644 config/sway/bindsym-layout (limited to 'config/sway') 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 -- cgit v1.2.3