]> git.donarmstrong.com Git - x_base.git/blobdiff - .config/i3/config_base
default to hide the state bar, but show it when the modifier is hit
[x_base.git] / .config / i3 / config_base
index e17d24f0bf1196510a6c0bb732340a67d07807cc..b8078865015a06eea17964ff348a337e5a7a6125 100644 (file)
@@ -11,7 +11,7 @@ set $mod Mod4
 
 # This font is widely installed, provides lots of unicode glyphs, right-to-left
 # text rendering and scalability on retina/hidpi displays (thanks to pango).
-font pango:DejaVu Sans Mono 9
+font pango:DejaVu Sans Mono 12
 
 # Before i3 v4.8, we used to recommend this one as the default:
 # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
@@ -192,11 +192,14 @@ bindsym XF86MonBrightnessDown exec sudo /home/don/bin/intel_brightness dec
 # seach/tools/wlan/display
 bindsym XF86WLAN exec --no-startup-id toggle_rfkill
 #bindsym XF86Display exec presentation_mode
-bindsym $mod+minus exec xscreensaver-command -lock
+bindsym $mod+minus exec "sh -c 'xscreensaver-command -lock; xautolock -locknow'"
 
 # Start i3bar to display a workspace bar (plus the system information i3status
 # finds out, if available)
 bar {
          status_command i3status
          tray_output primary
+         mode hide
 }
+
+bindsym $mod+b bar hidden_state toggle