rofi, dunst configuration

This commit is contained in:
2020-01-26 13:06:06 +01:00
parent c81cbb3791
commit 6fe7f71b97
11 changed files with 366 additions and 333 deletions

View File

@ -0,0 +1,19 @@
#!/bin/bash
if [[ -n $@ ]]; then
case $1 in
'Logout')
i3-msg exit;;
'Suspend')
systemctl suspend;;
'Reboot')
systemctl reboot;;
'Shutdown')
systemctl poweroff;;
esac
else
echo -en "Logout\x00icon\x1fsystem-log-out\n"
echo -en "Suspend\x00icon\x1fsystem-suspend\n"
echo -en "Reboot\x00icon\x1fsystem-reboot\n"
echo -en "Shutdown\x00icon\x1fsystem-shutdown\n"
fi