1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-29 17:18:13 +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" ]] if [[ "$action" == "lock" ]]
then then
~/.i3/i3lock-fancy-multimonitor/lock swaylock-fancy
fi fi
if [[ "$action" == "suspend" ]] if [[ "$action" == "suspend" ]]
then 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 fi
if [[ "$action" == "hibernate" ]] if [[ "$action" == "hibernate" ]]