diff options
author | Camil Staps | 2023-02-22 15:10:52 +0100 |
---|---|---|
committer | Camil Staps | 2023-02-22 15:10:52 +0100 |
commit | f1757e139c60d2f4efa68ae4327ab845dd3ec8cf (patch) | |
tree | e7e4ffcdc83d8094e70f44afdc2813c10f31e2a7 | |
parent | Add mimeapps.list with default apps firefox and evince (diff) |
i3: use non-monospace font; add Mod+Shift+H shortcut for hibernation
-rw-r--r-- | i3/.i3/config | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/i3/.i3/config b/i3/.i3/config index f436964..07a12b3 100644 --- a/i3/.i3/config +++ b/i3/.i3/config @@ -1,7 +1,7 @@ # General settings set $mod Mod4 floating_modifier $mod -font pango:DejaVu Sans Mono 10 +font pango:DejaVu Sans 10 focus_follows_mouse no # Autolock @@ -105,9 +105,10 @@ 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 -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 -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 -m 'You pressed the shutdown shortcut (Mod-Shift-S). Do you really want to shutdown?' -b 'Yes, shutdown' 'shutdown now'" +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" { @@ -128,6 +129,6 @@ mode "resize" { } bar { - font pango:DejaVu Sans Mono, 12 + font pango:DejaVu Sans, 12 status_command i3status.py } |