]> 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 203cbd0b7192dade7da476d915ac603206848a57..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 8
+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
@@ -24,7 +24,7 @@ font pango:DejaVu Sans Mono 8
 floating_modifier $mod
 
 # start a terminal
-bindsym $mod+Return exec i3-sensible-terminal
+bindsym $mod+Return exec exec ~/bin/st
 
 # kill focused window
 bindsym $mod+Shift+q kill
@@ -185,17 +185,21 @@ bindsym XF86AudioRewind exec --no-startup-id "sh -c '(mpc seek -00:01:00 2>&1 >/
 
 # brightness
 # increase screen brightness
-bindsym XF86MonBrightnessUp exec xbacklight -inc 5
+bindsym XF86MonBrightnessUp exec sudo /home/don/bin/intel_brightness inc
 # decrease screen brightness
-bindsym XF86MonBrightnessDown exec xbacklight -dec 5
+bindsym XF86MonBrightnessDown exec sudo /home/don/bin/intel_brightness dec
 
 # seach/tools/wlan/display
-bindsym XF86WLAN exec --no-startup-id "sh -c \\"if /usr/sbin/rfkill list|grep -q 'blocked yes' ; then /usr/sbin/rfkill unblock all ; else /usr/sbin/rfkill block all ; fi;\\""
+bindsym XF86WLAN exec --no-startup-id toggle_rfkill
 #bindsym XF86Display exec presentation_mode
+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