commit 402f5c64c78ba165a2c3bff41912076bfaa0e10d parent 6e324add3771798413a23e9dcd09d52e6b0b9376 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Thu, 25 Jul 2019 16:26:29 +0200 Clean up zzz script Diffstat:
M | .local/bin/zzz | | | 9 | +-------- |
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/.local/bin/zzz b/.local/bin/zzz @@ -1,15 +1,8 @@ #!/bin/sh -# Screen locking and power suspending script. -# The laptop should be locked and suspended, while the desktop should only be -# locked. - mpc stop xlock -if [ "$(hostname)" = 'flaptop' ]; then - sudo pm-suspend-hybrid -fi if [ "$(hostname)" = 'idkfa' ]; then - systemctl suspend-then-hibernate + systemctl suspend-then-hibernate fi