aboutsummaryrefslogtreecommitdiff
path: root/i3wm
diff options
context:
space:
mode:
Diffstat (limited to 'i3wm')
-rw-r--r--i3wm/.i3/config105
1 files changed, 59 insertions, 46 deletions
diff --git a/i3wm/.i3/config b/i3wm/.i3/config
index 78719ad..a9c6ae1 100644
--- a/i3wm/.i3/config
+++ b/i3wm/.i3/config
@@ -1,6 +1,33 @@
set $mod Mod4
set $alt Mod1
+font pango:Iosevka Medium 14px
+hide_edge_borders both
+
+client.focused #909737 #909737 #222222
+client.focused_inactive #222222 #222222 #999999
+client.unfocused #222222 #222222 #999999
+client.urgent #a5a5a5 #a5a5a5 #2e3436
+client.background #161616
+
+bar {
+ status_command ~/.conky.sh
+ workspace_buttons yes
+ tray_output LVDS1
+
+ font pango:Iosevka Medium 14px
+
+ colors {
+ background #161616
+ statusline #605c5a
+
+ focused_workspace #909737 #909737 #161616
+ urgent_workspace #909737 #909737 #161616
+ active_workspace #909737 #909737 #161616
+ inactive_workspace #161616 #161616 #909737
+ }
+}
+
bindsym $mod+Shift+Q kill
bindsym $mod+Shift+C reload
bindsym $mod+Shift+R restart
@@ -60,6 +87,30 @@ bindsym $mod+Shift+parenleft move container to workspace 8
bindsym $mod+Shift+parenright move container to workspace 9
bindsym $mod+Shift+equal move container to workspace 0
+bindsym Control+Return exec urxvtc -title "Chicken Scheme REPL" -e csi -q
+bindsym $mod+Return exec urxvtc
+bindsym $alt+Return exec gvim
+
+bindsym Control+space exec rofi_dict
+bindsym $mod+space exec "rofi -modi run,ssh,window -show combi"
+bindsym $alt+space exec passman submitform
+
+bindsym Print exec xfce4-screenshooter
+
+bindsym Mod1+l exec --no-startup-id i3lock -c 000000
+bindsym Control+Mod1+m exec --no-startup-id ~/.screenlayout/mobile.sh
+bindsym Control+Mod1+d exec --no-startup-id ~/.screenlayout/docked.sh
+bindsym Control+Mod1+v exec --no-startup-id ~/.screenlayout/docked_vertical.sh
+bindsym Control+Mod1+t exec --no-startup-id ~/.screenlayout/docked_tv_mode.sh
+
+bindsym $mod+c exec =
+bindsym $mod+t exec ~/.i3/apply_layout.sh
+bindsym Mod1+n exec rofi_wiki
+
+bindsym $mod+z [title="^.*- Zeal$"] scratchpad show
+bindsym $mod+n [title="VimWiki"] scratchpad show
+bindsym Menu [instance="DropDownTerm"] scratchpad show
+
bindsym $mod+r mode "resize"
mode "resize" {
@@ -77,63 +128,25 @@ mode "resize" {
bindsym Escape mode "default"
}
-bar {
- status_command ~/.conky.sh
- workspace_buttons yes
- tray_output LVDS1
+bindsym $mod+g mode "gaps"
- font pango:Iosevka Medium 14px
+mode "gaps" {
+ bindsym plus gaps inner current plus 5
+ bindsym minus gaps inner current minus 5
- colors {
- background #161616
- statusline #605c5a
+ bindsym Shift+plus gaps inner all plus 5
+ bindsym Shift+minus gaps inner all minus 5
- focused_workspace #909737 #909737 #161616
- urgent_workspace #909737 #909737 #161616
- active_workspace #909737 #909737 #161616
- inactive_workspace #161616 #161616 #909737
- }
+ bindsym Return mode "default"
+ bindsym Escape mode "default"
}
-font pango:Iosevka Medium 14px
-hide_edge_borders both
-
-client.focused #909737 #909737 #222222
-client.focused_inactive #222222 #222222 #999999
-client.unfocused #222222 #222222 #999999
-client.urgent #a5a5a5 #a5a5a5 #2e3436
-client.background #161616
-
for_window [class="^.*"] border pixel 4;
for_window [title="^dictionary$"] border pixel 8, floating enable;
for_window [title="VimWiki"] border pixel 8, floating enable, move to scratchpad;
for_window [title="^.*- Zeal$"] border pixel 8, floating enable, move position 160px 46px, move to scratchpad;
for_window [instance="DropDownTerm"] border pixel 8, move to scratchpad, move position 183px -8px, resize set 1000px 600px, move to scratchpad;
-bindsym Control+Return exec urxvtc -title "Chicken Scheme REPL" -e csi -q
-bindsym $mod+Return exec urxvtc
-bindsym $alt+Return exec gvim
-
-bindsym Control+space exec rofi_dict
-bindsym $mod+space exec "rofi -modi run,ssh,window -show combi"
-bindsym $alt+space exec passman submitform
-
-bindsym Print exec xfce4-screenshooter
-
-bindsym Mod1+l exec --no-startup-id i3lock -c 000000
-bindsym Control+Mod1+m exec --no-startup-id ~/.screenlayout/mobile.sh
-bindsym Control+Mod1+d exec --no-startup-id ~/.screenlayout/docked.sh
-bindsym Control+Mod1+v exec --no-startup-id ~/.screenlayout/docked_vertical.sh
-bindsym Control+Mod1+t exec --no-startup-id ~/.screenlayout/docked_tv_mode.sh
-
-bindsym $mod+c exec =
-bindsym $mod+t exec ~/.i3/apply_layout.sh
-bindsym Mod1+n exec rofi_wiki
-
-bindsym $mod+z [title="^.*- Zeal$"] scratchpad show
-bindsym $mod+n [title="VimWiki"] scratchpad show
-bindsym Menu [instance="DropDownTerm"] scratchpad show
-
exec --no-startup-id export $(gnome-keyring-daemon)
exec --no-startup-id urxvtd
exec --no-startup-id twmnd