mirror of
https://github.com/DefectingCat/dotfiles
synced 2025-07-15 16:51:36 +00:00
13 lines
382 B
Bash
Executable File
13 lines
382 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SWALLOW=$(hyprctl -j getoption misc:enable_swallow | jaq ".int")
|
|
|
|
if [ "${SWALLOW}" == "1" ]; then
|
|
hyprctl keyword misc:enable_swallow 0
|
|
notify-send "No swallow"
|
|
notify-send -i "$HOME/.config/hypr/mako/icons/hyprland.png" "Swallow" "OFF"
|
|
else
|
|
hyprctl keyword misc:enable_swallow 1
|
|
notify-send -i "$HOME/.config/hypr/mako/icons/hyprland.png" "Swallow" "ON"
|
|
fi
|