diff options
| author | skrrtskrrtman <50763036+skrrtskrrtman@users.noreply.github.com> | 2021-03-30 09:30:01 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-29 21:30:01 -0400 |
| commit | 12d6d5ec80fd0dc9f113f6b91a3373857fcac014 (patch) | |
| tree | 237c8442e93448a8b83e75b9d4d7bb5651ec25e1 /.local/bin | |
| parent | 87c295003995ffdb071551ce0fe56307aadfdda8 (diff) | |
| download | eibhear-12d6d5ec80fd0dc9f113f6b91a3373857fcac014.tar.gz eibhear-12d6d5ec80fd0dc9f113f6b91a3373857fcac014.tar.zst eibhear-12d6d5ec80fd0dc9f113f6b91a3373857fcac014.zip | |
add display off option (#920)
mostly for laptops to save power
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/sysact | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.local/bin/sysact b/.local/bin/sysact index 9dc398b..62fdd61 100755 --- a/.local/bin/sysact +++ b/.local/bin/sysact @@ -14,7 +14,8 @@ cmds="\ ♻ renew dwm kill -HUP $(pgrep -u $USER "\bdwm$") 🐻 hibernate slock ${hib:-systemctl suspend-then-hibernate -i} 🔃 reboot ${reb:-sudo -A reboot} -🖥 shutdown ${shut:-sudo -A shutdown -h now}" +🖥 shutdown ${shut:-sudo -A shutdown -h now} +📺 display off xset dpms force off" choice="$(echo "$cmds" | cut -d' ' -f 1 | dmenu)" || exit 1 |
