meta: Toggle rofi with super key

This is a Wayland implementation similar to ksuperkey that is able to
fully toggle rofi with just the super key.
This commit is contained in:
Donovan Glover 2023-05-22 23:01:22 -04:00
parent 24f61278c6
commit 49a621f081
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 5 additions and 1 deletions

View File

@ -16,6 +16,7 @@
TIMING:
- TAP_MILLISEC: 1000
- DOUBLE_TAP_MILLISEC: 0
- SYNTHETIC_KEYS_PAUSE_MILLISEC: 0
MAPPINGS:
- KEY: KEY_CAPSLOCK
TAP: KEY_ESC
@ -23,5 +24,8 @@
- KEY: KEY_SYSRQ
TAP: KEY_SYSRQ
HOLD: KEY_RIGHTMETA
- KEY: KEY_LEFTMETA
TAP: [ KEY_LEFTMETA, KEY_F1 ]
HOLD: KEY_LEFTMETA
'';
}

View File

@ -116,7 +116,7 @@
bind = SUPER, S, togglespecialworkspace
bind = SUPER_SHIFT, S, movetoworkspace, special
bind = SUPER_SHIFT, S, togglespecialworkspace
bind = SUPER, Z, exec, rofi -show drun
bind = SUPER, F1, exec, killall rofi || rofi -show drun
bind = SUPER, Return, exec, ~/.config/hypr/swapmaster.sh
bind = SUPER, J, layoutmsg, cyclenext