1 # plomlompom's i3-wm configuration
4 font pango:Terminus 11px
5 #font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
7 # Force "tabbed" as default layout for new windows.
8 workspace_layout tabbed
10 # Make the Windows key the modifier key for all i3-wm actions.
12 floating_modifier $mod
14 # Launch xterm small-font white-on-black or big-font black-on-white.
15 bindsym $mod+Return exec xterm -vb -ls -r -fa -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -fs 8
16 bindsym $mod+Shift+Return exec xterm -vb -ls -fa -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -fs 19
18 # Launch programs via dmenu.
19 bindsym $mod+d exec dmenu_run
22 bindsym $mod+Shift+Q kill
24 # Move focus between windows.
25 bindsym $mod+Left focus left
26 bindsym $mod+Down focus down
27 bindsym $mod+Up focus up
28 bindsym $mod+Right focus right
30 # Don't move focus with mouse.
31 focus_follows_mouse no
34 bindsym $mod+Shift+Left move left
35 bindsym $mod+Shift+Down move down
36 bindsym $mod+Shift+Up move up
37 bindsym $mod+Shift+Right move right
40 bindsym $mod+h resize shrink width 1 px or 1 ppt
41 bindsym $mod+l resize grow width 1 px or 1 ppt
42 bindsym $mod+j resize shrink height
43 bindsym $mod+k resize grow height
45 # Toggle fullscreen for focused window.
46 bindsym $mod+f fullscreen
48 # Toggle floating of window, focus on floating or tabbed windows.
49 bindsym $mod+Shift+space floating toggle
50 bindsym $mod+space focus mode_toggle
52 # Switch to workspace x.
53 bindsym $mod+1 workspace 1
54 bindsym $mod+2 workspace 2
55 bindsym $mod+3 workspace 3
56 bindsym $mod+4 workspace 4
57 bindsym $mod+5 workspace 5
58 bindsym $mod+6 workspace 6
59 bindsym $mod+7 workspace 7
60 bindsym $mod+8 workspace 8
61 bindsym $mod+9 workspace 9
62 bindsym $mod+0 workspace 10
64 # Move window to workspace x.
65 bindsym $mod+Shift+exclam move workspace 1
66 bindsym $mod+Shift+quotedbl move workspace 2
67 bindsym $mod+Shift+section move workspace 3
68 bindsym $mod+Shift+dollar move workspace 4
69 bindsym $mod+Shift+percent move workspace 5
70 bindsym $mod+Shift+ampersand move workspace 6
71 bindsym $mod+Shift+slash move workspace 7
72 bindsym $mod+Shift+parenleft move workspace 8
73 bindsym $mod+Shift+parenright move workspace 9
74 bindsym $mod+Shift+equal move workspace 10
76 # Reload i3 config file, restart (keeping sesion) i3, exit i3.
77 bindsym $mod+Shift+C reload
78 bindsym $mod+Shift+R restart
79 bindsym $mod+Shift+P exit
81 # Select "i3status" as i3 status bar.
83 status_command i3status