new rofi themes, added paths to fish

This commit is contained in:
Tiago Sousa 2023-10-31 14:24:18 +00:00
parent dfd988911d
commit 3b52e910b6
13 changed files with 211 additions and 625 deletions

View file

@ -1,28 +0,0 @@
#! /bin/sh
OPTIONS="Suspend\nLock\nRestart\nShutdown\nExit i3\n"
LAUNCHER="rofi -dmenu -i -p Power"
LOCKER="betterlockscreen -l"
option=$(printf '%s'"$OPTIONS" | $LAUNCHER | awk '{print $1}' | tr -d '\r\n')
if [ ${#option} -gt 0 ]
then
case $option in
Suspend)
systemctl suspend
;;
Restart)
systemctl reboot
;;
Lock)
$LOCKER
;;
Shutdown)
systemctl poweroff
;;
Exit)
eval exit i3
;;
esac
fi