From e5edac0a57f87db1fd9333e2b3b67bde6d388216 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 23 Feb 2023 09:43:49 +0100 Subject: Add suspend-menu; do not use i3-nagbar for shutdown confirmation --- i3/.i3/config | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'i3/.i3/config') diff --git a/i3/.i3/config b/i3/.i3/config index 07a12b3..20da59f 100644 --- a/i3/.i3/config +++ b/i3/.i3/config @@ -14,8 +14,9 @@ assign [class="thunderbird"] 2 assign [class="Zotero"] 3 # Menus -bindsym $mod+d exec dmenu_run -i -bindsym $mod+p exec passmenu -i -l 20 +bindsym $mod+d exec dmenu_run -i -fn 'DejaVu Sans' +bindsym $mod+p exec passmenu -i -l 20 -fn 'DejaVu Sans' +bindsym $mod+Shift+S exec suspend-menu # kill focused window bindsym $mod+Shift+Q kill @@ -103,13 +104,6 @@ bindsym $mod+Shift+8 move container to workspace 8 bindsym $mod+Shift+9 move container to workspace 9 bindsym $mod+Shift+0 move container to workspace 10 -# reload; restart in-place; exit and shutdown -bindsym $mod+Shift+C reload -bindsym $mod+Shift+R exec "i3-nagbar -f 'pango:DejaVu Sans' -t warning -m 'You pressed the restart shortcut (Mod-Shift-R). Do you really want to restart i3?' -B 'Yes, restart i3' 'i3-msg restart'" -bindsym $mod+Shift+E exec "i3-nagbar -f 'pango:DejaVu Sans' -t warning -m 'You pressed the exit shortcut (Mod-Shift-E). Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" -bindsym $mod+Shift+S exec "i3-nagbar -f 'pango:DejaVu Sans' -m 'You pressed the shutdown shortcut (Mod-Shift-S). Do you really want to shutdown?' -B 'Yes, shutdown' 'shutdown now'" -bindsym $mod+Shift+H exec "i3-nagbar -f 'pango:DejaVu Sans' -m 'You pressed the suspend-then-hibernate shortcut (Mod-Shift-H). Do you really want to suspend?' -B 'Yes, suspend' 'systemctl suspend-then-hibernate'" - bindsym $mod+r mode "resize" mode "resize" { bindsym j resize shrink width 1 px or 1 ppt -- cgit v1.2.3