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
11 lines
232 B
Bash
Executable File
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 &
|