fixed sound issues where the headphones were not being detected correctly by using a static configuration with modprobe standardized the lock screen command and wallpapers for later use system-wide
9 lines
233 B
Bash
Executable File
9 lines
233 B
Bash
Executable File
#!/bin/sh
|
|
exec swayidle -w \
|
|
timeout 120 "$SCRIPT_DIR/brightness -d" \
|
|
resume "$SCRIPT_DIR/brightness -i" \
|
|
timeout 360 "swaymsg 'output * dpms off'" \
|
|
resume "swaymsg 'output * dpms on'" \
|
|
timeout 600 "$LOCK_SCREEN_COMMAND"
|
|
|