1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-26 06:08:35 +01:00

changed rofi powermenu

This commit is contained in:
eoli3n 2020-01-17 16:16:37 +01:00
parent 7351befaa3
commit 1cddb4bce4

@ -8,12 +8,12 @@ action=$(echo -e "suspend\nlock\nhibernate\nlogout\nshutdown\nreboot" | rofi -dm
if [[ "$action" == "lock" ]]
then
~/.i3/i3lock-fancy-multimonitor/lock
swaylock-fancy
fi
if [[ "$action" == "suspend" ]]
then
~/.i3/i3lock-fancy-multimonitor/lock && systemctl suspend-then-hibernate && echo '*/reconnect' >~/.weechat/weechat_fifo
swaylock-fancy && systemctl suspend-then-hibernate && echo '*/reconnect' >~/.weechat/weechat_fifo
fi
if [[ "$action" == "hibernate" ]]