update
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
CORE="suspend\nsuspend in 5 minutes\nreboot\nshutdown\n"
|
CORE="suspend\nsuspend in 5 minutes\nreboot\nshutdown\n"
|
||||||
EXTRA="sync music\nAIO pump speed\nkey repeat rate\nfan curve\nvolume mixer"
|
EXTRA="key repeat ratee\nvolume mixer"
|
||||||
|
|
||||||
ACTION=$(printf "$CORE$EXTRA" | dmenu -c -i -l 10 -p "manager")
|
ACTION=$(printf "$CORE$EXTRA" | dmenu -c -i -l 10 -p "manager")
|
||||||
|
|
||||||
@ -13,14 +13,8 @@ case "$ACTION" in
|
|||||||
systemctl reboot;;
|
systemctl reboot;;
|
||||||
"shutdown")
|
"shutdown")
|
||||||
systemctl poweroff;;
|
systemctl poweroff;;
|
||||||
"fan curve")
|
|
||||||
liquidctl_fan-curve;;
|
|
||||||
"key repeat rate")
|
"key repeat rate")
|
||||||
xset r rate 200 40;;
|
xset r rate 200 40;;
|
||||||
"AIO pump speed")
|
|
||||||
set_pump_speed;;
|
|
||||||
"volume mixer")
|
"volume mixer")
|
||||||
st -i -g 60x20-200+200 -e pulsemixer;;
|
st -i -g 60x20-200+200 -e pulsemixer;;
|
||||||
"sync music")
|
|
||||||
sync_music;;
|
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user