Created
January 18, 2019 11:34
-
-
Save jtdowney/7b836f7054b1242f6975e42d8e58b864 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# i3 config file (v4) | |
set $mod Mod4 | |
font pango:Hack 10 | |
floating_modifier $mod | |
focus_follows_mouse no | |
bindsym $mod+Return exec i3-sensible-terminal | |
bindsym $mod+Shift+q kill | |
bindsym $mod+d exec dmenu_run | |
bindsym $mod+space exec --no-startup-id i3-dmenu-desktop | |
bindsym $mod+h focus left | |
bindsym $mod+j focus down | |
bindsym $mod+k focus up | |
bindsym $mod+l focus right | |
bindsym $mod+Shift+h move left | |
bindsym $mod+Shift+j move down | |
bindsym $mod+Shift+k move up | |
bindsym $mod+Shift+l move right | |
bindsym $mod+s split h | |
bindsym $mod+v split v | |
bindsym $mod+f fullscreen toggle | |
bindsym $mod+q layout stacking | |
bindsym $mod+t layout tabbed | |
bindsym $mod+e layout toggle split | |
bindsym $mod+Shift+space floating toggle | |
bindsym $mod+semicolon focus mode_toggle | |
bindsym $mod+a focus parent | |
bindsym $mod+Shift+a focus child | |
bindsym $mod+r mode "resize" | |
bindsym $mod+Shift+x exec xset s activate | |
set $ws1 "1" | |
set $ws2 "2" | |
set $ws3 "3" | |
set $ws4 "4" | |
set $ws5 "5" | |
set $ws6 "6" | |
set $ws7 "7" | |
set $ws8 "8" | |
set $ws9 "9" | |
set $ws10 "10" | |
bindsym $mod+1 workspace $ws1 | |
bindsym $mod+2 workspace $ws2 | |
bindsym $mod+3 workspace $ws3 | |
bindsym $mod+4 workspace $ws4 | |
bindsym $mod+5 workspace $ws5 | |
bindsym $mod+6 workspace $ws6 | |
bindsym $mod+7 workspace $ws7 | |
bindsym $mod+8 workspace $ws8 | |
bindsym $mod+9 workspace $ws9 | |
bindsym $mod+0 workspace $ws10 | |
bindsym $mod+Shift+1 move container to workspace $ws1 | |
bindsym $mod+Shift+2 move container to workspace $ws2 | |
bindsym $mod+Shift+3 move container to workspace $ws3 | |
bindsym $mod+Shift+4 move container to workspace $ws4 | |
bindsym $mod+Shift+5 move container to workspace $ws5 | |
bindsym $mod+Shift+6 move container to workspace $ws6 | |
bindsym $mod+Shift+7 move container to workspace $ws7 | |
bindsym $mod+Shift+8 move container to workspace $ws8 | |
bindsym $mod+Shift+9 move container to workspace $ws9 | |
bindsym $mod+Shift+0 move container to workspace $ws10 | |
bindsym $mod+Shift+c reload | |
bindsym $mod+Shift+r restart | |
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" | |
mode "resize" { | |
bindsym h resize shrink width 10 px or 10 ppt | |
bindsym j resize grow height 10 px or 10 ppt | |
bindsym k resize shrink height 10 px or 10 ppt | |
bindsym l resize grow width 10 px or 10 ppt | |
bindsym Left resize shrink width 10 px or 10 ppt | |
bindsym Down resize grow height 10 px or 10 ppt | |
bindsym Up resize shrink height 10 px or 10 ppt | |
bindsym Right resize grow width 10 px or 10 ppt | |
bindsym Return mode "default" | |
bindsym Escape mode "default" | |
bindsym $mod+r mode "default" | |
} | |
bar { | |
font pango:Hack, FontAwesome 12 | |
position bottom | |
status_command i3status-rs ~/.config/i3/status.toml | |
colors { | |
separator #666666 | |
background #222222 | |
statusline #dddddd | |
focused_workspace #0088CC #0088CC #ffffff | |
active_workspace #333333 #333333 #ffffff | |
inactive_workspace #333333 #333333 #888888 | |
urgent_workspace #2f343a #900000 #ffffff | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment