fix sysact icons
This commit is contained in:
parent
e9e5da8f84
commit
cdb6533667
|
@ -6,17 +6,17 @@ case "$(readlink -f /sbin/init)" in
|
|||
esac
|
||||
|
||||
# case "$(printf " lock\nﴚ leave dwm\n累 renew dwm\nﭦ hibernate\n sleep\nﰇ reboot\n襤 shutdown\n display off" | dmenu -i -p 'Action: ')" in
|
||||
case "$(printf " lock\nﴚ leave dwm\n累 renew dwm\nﰇ reboot\n襤 shutdown\n display off" | dmenu -i -p 'Action: ')" in
|
||||
' lock')
|
||||
case "$(printf " lock\n leave dwm\n renew dwm\n reboot\n⏻ shutdown\n display off" | dmenu -i -p 'Action: ')" in
|
||||
' lock')
|
||||
xset s activate &
|
||||
gpg-connect-agent --no-autostart reloadagent /bye
|
||||
;;
|
||||
'ﴚ leave dwm') kill -TERM "$(pgrep -u "$USER" "\bdwm$")" ;;
|
||||
'累 renew dwm') kill -HUP "$(pgrep -u "$USER" "\bdwm$")" ;;
|
||||
# 'ﭦ hibernate') slock $ctl hibernate -i ;;
|
||||
# ' sleep') slock $ctl suspend -i ;;
|
||||
'ﰇ reboot') $ctl reboot ;;
|
||||
'襤 shutdown') $ctl poweroff ;;
|
||||
' display off') xset dpms force off ;;
|
||||
' leave dwm') kill -TERM "$(pgrep -u "$USER" "\bdwm$")" ;;
|
||||
' renew dwm') kill -HUP "$(pgrep -u "$USER" "\bdwm$")" ;;
|
||||
# '⏼ hibernate') $ctl hibernate -i ;;
|
||||
# '⏾ sleep') $ctl suspend -i ;;
|
||||
' reboot') $ctl reboot ;;
|
||||
'⏻ shutdown') $ctl poweroff ;;
|
||||
' display off') xset dpms force off ;;
|
||||
*) exit 1 ;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue