summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-08-24 18:20:03 +0200
committerUrbain Vaes <urbain@vaes.uk>2016-08-24 18:20:03 +0200
commite4b46c918319fa9ab2a7d11f3275b848ed704a90 (patch)
treefb12c9501c8662bbb17aa3d245da9c9617f3b60f
parentd41a9cd1da88c7c206e42922ea3ab3b2a4e15fdd (diff)
Add keybinding to toggle the i3 bar visibility
-rw-r--r--i3/.config/i3/config5
1 files changed, 4 insertions, 1 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
index ffed0bd..8f6952d 100644
--- a/i3/.config/i3/config
+++ b/i3/.config/i3/config
@@ -147,7 +147,10 @@ bindsym $mod+r mode "resize"
# finds out, if available)
bar {
status_command $HOME/bin/mystatus
+ mode hide
+ modifier none
}
+bindsym $mod+m bar mode toggle
# Workspaces
bindsym $mod+Tab workspace back_and_forth
@@ -177,6 +180,6 @@ bindsym $mod+Shift+n exec $HOME/bin/workspace m
bindsym $mod+semicolon exec --no-startup-id $HOME/bin/run
bindsym $mod+z exec --no-startup-id $HOME/bin/tmux_attach
bindsym $mod+e exec --no-startup-id $HOME/bin/rename_workspace
-bindsym $mod+m exec --no-startup-id $HOME/bin/i3-shell
+# bindsym $mod+m exec --no-startup-id $HOME/bin/i3-shell
for_window [class="^.*"] border pixel 2