[Binds] Fix swapescape

This commit is contained in:
2025-11-11 09:58:48 +01:00
parent 688b94c3ad
commit eabb972cb8
2 changed files with 12 additions and 4 deletions

10
scripts/toggle-swapescape Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
enabled=$(hyprctl getoption input:kb_options | grep "caps:swapescape")
if [[ $enabled == "" ]]; then
hyprctl keyword input:kb_options "caps:swapescape"
notify-send "Swapescape enabled"
else
hyprctl keyword input:kb_options ""
notify-send "Swapescape disabled"
fi