startw/conf/config/scripts/lock-screen
Alessandro Mauri 856ff79931 sound and lock screen fixes
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
2020-04-20 16:18:34 +02:00

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"