This commit is contained in:
Ray Elliott 2020-08-09 13:53:06 +01:00
commit e4b7f615fa
33 changed files with 543 additions and 0 deletions

8
dmenu_power Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
OPTIONS="suspend\npoweroff\nreboot"
. ~/.dmenurc
dmenu_cmd="dmenu $DMENU_OPTIONS"
result=$(printf "$OPTIONS" | $dmenu_cmd -i -p 'systemctl ')
systemctl "$result"