diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-11-22 00:26:40 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-11-22 00:26:40 +0100 |
commit | daad6ac8f1238a3111a05d8b2d70f31e1a70da03 (patch) | |
tree | 1f139405c6e8673eea727df5d5bc45dc482a1745 /i3/config | |
parent | 51014d8ea8442e2e5cfb8e27b75bd7b7a3c70d18 (diff) | |
download | dotfiles-daad6ac8f1238a3111a05d8b2d70f31e1a70da03.tar.gz |
new i3 exit prompt
Diffstat (limited to 'i3/config')
-rw-r--r-- | i3/config | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -14,7 +14,7 @@ bindsym $mod+Shift+Return exec "termite -t termite_floating" bindsym $mod+o exec "termite -e ranger" #start browser -bindsym $mod+b exec "brave" +bindsym $mod+b exec "firefox" # kill focused window bindsym $mod+Shift+q kill @@ -36,6 +36,11 @@ bindsym $mod+minus [class="KeePassXC"] scratchpad show # notifications bindsym $mod+n exec "kill -s USR1 $(pidof deadd-notification-center)" +bindsym $mod+Shift+c reload +bindsym $mod+Shift+r restart + +bindsym $mod+Shift+e exec "rofi -show fb -modi fb:rofi-exit-menu.sh" + # Applications for_window [class="KeePassXC" title="^.*KeePassXC$"] move scratchpad @@ -133,13 +138,6 @@ bindsym $mod+Shift+8 move container to workspace $ws8 bindsym $mod+Shift+9 move container to workspace $ws9 bindsym $mod+Shift+0 move container to workspace $ws10 -# reload the configuration file -bindsym $mod+Shift+c reload -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -bindsym $mod+Shift+r restart -# exit i3 (logs you out of your X session) -#bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" -bindsym $mod+Shift+e exec $(printf "shutdown now\nreboot\ni3-msg exit\nkillall compton" | rofi -dmenu -mesg "Exit?") # resize window (you can also use the mouse for that) mode "resize" { |