diff options
Diffstat (limited to 'undock.sh')
-rwxr-xr-x | undock.sh | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -1,11 +1,5 @@ #!/bin/sh -xrandr --output DP-3 --auto --primary --output DP-2 --off -doas sysctl hw.acpi.lid_switch_state=S3 -killall xautolock -xautolock \ - -killtime 10 \ - -killer "sleep 0.5; doas acpiconf -s3" \ - -notify 10 \ - -time 10 \ - -locker "i3lock -n -f -c 002b36 ; sleep 0.2" \ - -notifier "notify-send -t=10000 '10 seconds to lock...'" & +/bin/sleep 3 +/usr/local/bin/xrandr --output DP-3 --auto --primary --output DP-2 --off +/sbin/sysctl hw.acpi.lid_switch_state=S3 +/usr/local/bin/xautolock -enable |