1 # plomlompom's i3-wm configuration
4 font pango:Terminus 8px
6 # Force "tabbed" as default layout for new windows.
7 workspace_layout tabbed
9 # Make the Windows key the modifier key for all i3-wm actions.
11 floating_modifier $mod
14 bindsym $mod+Return exec xterm
16 # Launch programs via dmenu.
17 bindsym $mod+d exec dmenu_run
18 bindsym $mod+x exec dmenu_run
21 bindsym $mod+Shift+Q kill
23 # Move focus between windows.
24 bindsym $mod+Left focus left
25 bindsym $mod+Down focus down
26 bindsym $mod+Up focus up
27 bindsym $mod+Right focus right
29 # Don't move focus with mouse.
30 focus_follows_mouse no
33 bindsym $mod+Shift+Left move left
34 bindsym $mod+Shift+Down move down
35 bindsym $mod+Shift+Up move up
36 bindsym $mod+Shift+Right move right
39 bindsym $mod+h resize shrink width 1 px or 1 ppt
40 bindsym $mod+l resize grow width 1 px or 1 ppt
41 bindsym $mod+j resize shrink height
42 bindsym $mod+k resize grow height
44 # Toggle fullscreen for focused window.
45 bindsym $mod+f fullscreen
47 # Toggle floating of window, focus on floating or tabbed windows.
48 bindsym $mod+Shift+space floating toggle
49 bindsym $mod+space focus mode_toggle
51 # Switch to workspace x.
52 bindsym $mod+1 workspace 1
53 bindsym $mod+2 workspace 2
54 bindsym $mod+3 workspace 3
55 bindsym $mod+4 workspace 4
56 bindsym $mod+5 workspace 5
57 bindsym $mod+6 workspace 6
58 bindsym $mod+7 workspace 7
59 bindsym $mod+8 workspace 8
60 bindsym $mod+9 workspace 9
61 bindsym $mod+0 workspace 10
63 # Move window to workspace x.
64 bindsym $mod+Shift+exclam move workspace 1
65 bindsym $mod+Shift+quotedbl move workspace 2
66 bindsym $mod+Shift+section move workspace 3
67 bindsym $mod+Shift+dollar move workspace 4
68 bindsym $mod+Shift+percent move workspace 5
69 bindsym $mod+Shift+ampersand move workspace 6
70 bindsym $mod+Shift+slash move workspace 7
71 bindsym $mod+Shift+parenleft move workspace 8
72 bindsym $mod+Shift+parenright move workspace 9
73 bindsym $mod+Shift+equal move workspace 10
75 # Reload i3 config file, restart (keeping sesion) i3, exit i3.
76 bindsym $mod+Shift+C reload
77 bindsym $mod+Shift+R restart
78 bindsym $mod+Shift+P exit
80 # Select "i3status" as i3 status bar, hide systray icons.
83 status_command i3status