Files
dotfiles/hypr/scripts/reserved_space.sh
Nikolai Papin b40afea717 feat: reserved screen space keybind and pinning windows for watching shows in the background;
refactor: waybar adjustments;
refactor: swaync idle inhibitor now handles idle state correctly;
feat: rmpc config
2025-09-22 17:48:56 +03:00

15 lines
266 B
Bash
Executable File

#!/usr/bin/env sh
FILE="/tmp/reserved_space_enabled"
if [ ! -e "$FILE" ]; then
touch "$FILE"
hyprctl --batch "\
keyword monitor eDP-1,addreserved,0,0,0,625;"
exit
fi
rm "$FILE"
hyprctl --batch "\
keyword monitor eDP-1,addreserved,0,0,0,0;"