few changes..

This commit is contained in:
Harri Lahtinen 2020-03-05 09:46:35 +02:00
parent 5f9287bf49
commit 85795f8791
2 changed files with 8 additions and 4 deletions

View File

@ -19,13 +19,13 @@ selection=$(echo -e "${options}" | rofi -dmenu -config ~/.config/rofi/config $th
echo "This is your selection: $selection" echo "This is your selection: $selection"
case "${selection}" in case "${selection}" in
"  lock") "  lock")
betterlockscreen -l dim;; betterlockscreen -l dim;;
"  logout") "  logout")
i3-msg exit;; i3-msg exit;;
"  sleep") "  sleep")
systemctl suspend;; systemctl suspend;;
"  hibernate") "  hibernate")
systemctl hibernate;; systemctl hibernate;;
"  reboot") "  reboot")
systemctl reboot;; systemctl reboot;;

View File

@ -108,8 +108,12 @@ bindsym $mod+Return exec $term
bindsym $mod+Shift+Return exec $term -e tmux bindsym $mod+Shift+Return exec $term -e tmux
bindsym $mod+Shift+space floating toggle bindsym $mod+Shift+space floating toggle
bindsym --whole-window button2 floating toggle
bindsym $mod+space focus mode_toggle bindsym $mod+space focus mode_toggle
# Floating window minimum size
floating_minimum_size 960x540
bindsym $mod+Escape workspace prev bindsym $mod+Escape workspace prev
bindsym $mod+Shift+Escape exec --no-startup-id prompt "Exit i3?" "i3-msg exit" bindsym $mod+Shift+Escape exec --no-startup-id prompt "Exit i3?" "i3-msg exit"