mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Update sysact
this change removes the incorrect white space char next to `shutdown` and `renew` and replaces it with a regular white space char. I'm not sure if others experience this, but I get a box character next to `shutdown` and `renew`. When I open this in my code editor and switch the font to Liberation Mono, the same box char appears. You likely don't experience this issue if you did not change your font to liberation mono. My theory is that it's a char that doesn't render the same in Liberation Mono as it does in Luke's default font.
This commit is contained in:
parent
ed9a67ed6d
commit
7e9f710f10
@ -5,14 +5,14 @@ case "$(readlink -f /sbin/init)" in
|
||||
*) ctl='loginctl' ;;
|
||||
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🐻 hibernate\n💤 sleep\n🔃 reboot\n🖥 shutdown\n📺 display off" | dmenu -i -p 'Action: ')" in
|
||||
'🔒 lock') slock ;;
|
||||
'🚪 leave dwm') kill -TERM "$(pgrep -u "$USER" "\bdwm$")" ;;
|
||||
'♻️ renew dwm') kill -HUP "$(pgrep -u "$USER" "\bdwm$")" ;;
|
||||
'♻ renew dwm') kill -HUP "$(pgrep -u "$USER" "\bdwm$")" ;;
|
||||
'🐻 hibernate') slock $ctl hibernate ;;
|
||||
'💤 sleep') slock $ctl suspend ;;
|
||||
'🔃 reboot') $ctl reboot ;;
|
||||
'🖥️shutdown') $ctl poweroff ;;
|
||||
'🖥 shutdown') $ctl poweroff ;;
|
||||
'📺 display off') xset dpms force off ;;
|
||||
*) exit 1 ;;
|
||||
esac
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user