updated dotfiles

This commit is contained in:
2026-02-24 22:44:05 +01:00
parent 5356157750
commit 85feb977a1
11 changed files with 368 additions and 52 deletions

View File

@@ -11,8 +11,9 @@ if [[ "$1" == "close" ]]; then
for monitor in $(hyprctl monitors all | grep "Monitor DP-" | awk '{print $2}'); do
hyprctl keyword monitor "$monitor, enable"
done
systemd-run --user --on-active=5s systemctl --user restart waybar.service hyprpaper.service
fi
elif [[ "$1" == "open" ]]; then
# Lid opened: re-enable laptop screen
hyprctl keyword monitor "eDP-1, enable"
fi
fi