mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
add display off option
mostly for laptops to save power
This commit is contained in:
parent
263a3c5da2
commit
5ff2fe9793
@ -14,7 +14,8 @@ cmds="\
|
|||||||
♻ renew dwm kill -HUP $(pgrep -u $USER "\bdwm$")
|
♻ renew dwm kill -HUP $(pgrep -u $USER "\bdwm$")
|
||||||
🐻 hibernate slock ${hib:-systemctl suspend-then-hibernate -i}
|
🐻 hibernate slock ${hib:-systemctl suspend-then-hibernate -i}
|
||||||
🔃 reboot ${reb:-sudo -A reboot}
|
🔃 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
|
choice="$(echo "$cmds" | cut -d' ' -f 1 | dmenu)" || exit 1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user