moved all desktop utils into this repo
This commit is contained in:
parent
cd7e93374e
commit
2241d30a86
28 changed files with 151 additions and 45 deletions
7
scripts/idle.sh
Executable file
7
scripts/idle.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [[ $(acpi -a | awk '{print $3}') == "on-line" ]]; then
|
||||
swaylock
|
||||
else
|
||||
systemctl suspend-then-hibernate
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue