11 lines
290 B
Bash
Executable File
11 lines
290 B
Bash
Executable File
#!/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
|