Files
dotfiles/bin/lid_open.sh
Thierry Schork 4f81f9df18 - added custom systemd config for sleep and login.
Those scripts should be placed in /etc/systemd/ in case of a restore on the laptop
- strengthened the lid_close and lid_open scripts to debounce and not handle sleep
- switched from deep sleep to s2idle, so that resume is not immediate
- hibernating after 30 minutes of s2idle state
- themed fuzzel with dracula
- cleaned up hyprland comments on lid close/open
- removed splash from hyprpaper config
2026-02-12 05:30:06 +01:00

11 lines
232 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
INTERNAL="eDP-1"
sleep 0.2
hyprctl keyword monitor "$INTERNAL, preferred, 0x0, 1"
pgrep -x swayosd-server >/dev/null || swayosd-server &
pgrep -x hyprpaper >/dev/null || hyprpaper &