2 set_from_resource $black i3wm.color0 #000000
3 set_from_resource $black_super i3wm.color8 #000000
5 set_from_resource $red i3wm.color1 #ff0000
6 set_from_resource $red_super i3wm.color9 #dd0000
8 set_from_resource $green i3wm.color2 #00ff00
9 set_from_resource $green_super i3wm.color10 #00dd00
11 set_from_resource $yellow i3wm.color3 #000000
12 set_from_resource $yellow_super i3wm.color11 #000000
14 set_from_resource $blue i3wm.color4 #000000
15 set_from_resource $blue_super i3wm.color12 #000000
17 set_from_resource $magenta i3wm.color5 #000000
18 set_from_resource $magenta_super i3wm.color13 #000000
20 set_from_resource $cyan i3wm.color6 #000000
21 set_from_resource $cyan_super i3wm.color14 #000000
23 set_from_resource $white i3wm.color7 #000000
24 set_from_resource $white_super i3wm.color15 #000000
26 client.focused $black $yellow_super $black $black $black
27 client.focused_inactive $black $black_super $white $black $black
33 # Use Mouse+$mod to drag floating windows to their wanted position
34 floating_modifier $mod
36 bindsym Control+t mode "$ratpoison"
50 # All/most commands in this mode should revert to the default mode on comleption.
51 # We are emulating ratpoison (kinda) here
53 # Moving to workspaces
54 # bindsym n workspace next mode "default"
55 # bindsym Shift+n workspace prev mode "default"
57 bindsym 1 mode "default" workspace $ws1
58 bindsym 2 mode "default" workspace $ws2
59 bindsym 3 mode "default" workspace $ws3
60 bindsym 4 mode "default" workspace $ws4
61 bindsym 5 mode "default" workspace $ws5
62 bindsym 6 mode "default" workspace $ws6
63 bindsym 7 mode "default" workspace $ws7
64 bindsym 8 mode "default" workspace $ws8
65 bindsym 9 mode "default" workspace $ws9
66 bindsym 0 mode "default" workspace $ws10
68 bindsym Shift+1 mode "default" move container to workspace $ws1
69 bindsym Shift+2 mode "default" move container to workspace $ws2
70 bindsym Shift+3 mode "default" move container to workspace $ws3
71 bindsym Shift+4 mode "default" move container to workspace $ws4
72 bindsym Shift+5 mode "default" move container to workspace $ws5
73 bindsym Shift+6 mode "default" move container to workspace $ws6
74 bindsym Shift+7 mode "default" move container to workspace $ws7
75 bindsym Shift+8 mode "default" move container to workspace $ws8
76 bindsym Shift+9 mode "default" move container to workspace $ws9
77 bindsym Shift+0 mode "default" move container to workspace $ws10
80 # bindsym Tab focus right mode "default"
81 # bindsym Shift+Tab focus left mode "default"
83 bindsym h focus left mode "default"
84 bindsym j focus down mode "default"
85 bindsym k focus up mode "default"
86 bindsym l focus right mode "default"
90 bindsym Shift+h mode "default" move left
91 bindsym Shift+j mode "default" move down
92 bindsym Shift+k mode "default" move up
93 bindsym Shift+l mode "default" move right
95 # Changing split modes
96 bindsym v split v mode "default"
97 bindsym o split h mode "default"
100 bindsym c mode "default" exec i3-sensible-terminal
101 bindsym q mode "default" kill
103 bindsym Shift+e mode "default" exec dmenu_run
105 bindsym Escape mode "default"
107 bindsym $mod+l mode "default" exec "xscreensaver-command -lock&"
113 # There also is the (new) i3-dmenu-desktop which only displays applications
114 # shipping a .desktop file. It is a wrapper around dmenu, so you need that
116 # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
118 # enter fullscreen mode for the focused container
119 bindsym $mod+t fullscreen toggle
121 # change container layout (stacked, tabbed, toggle split)
122 bindsym $mod+r layout stacking
123 bindsym $mod+w layout tabbed
124 bindsym $mod+f layout toggle split
126 # toggle tiling / floating
127 bindsym $mod+Shift+space floating toggle
129 # change focus between tiling / floating windows
130 bindsym $mod+space focus mode_toggle
132 # focus the parent container
133 bindsym $mod+a focus parent
135 # focus the child container
136 #bindsym $mod+d focus child
138 # reload the configuration file
139 bindsym $mod+Shift+c reload
140 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
141 bindsym $mod+Shift+r restart
142 # exit i3 (logs you out of your X session)
143 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'"
145 # resize window (you can also use the mouse for that)
147 # These bindings trigger as soon as you enter the resize mode
149 # Pressing left will shrink the window’s width.
150 # Pressing right will grow the window’s width.
151 # Pressing up will shrink the window’s height.
152 # Pressing down will grow the window’s height.
153 bindsym h resize shrink width 10 px or 10 ppt
154 bindsym j resize grow height 10 px or 10 ppt
155 bindsym k resize shrink height 10 px or 10 ppt
156 bindsym l resize grow width 10 px or 10 ppt
158 # same bindings, but for the arrow keys
159 bindsym Left resize shrink width 10 px or 10 ppt
160 bindsym Down resize grow height 10 px or 10 ppt
161 bindsym Up resize shrink height 10 px or 10 ppt
162 bindsym Right resize grow width 10 px or 10 ppt
164 # back to normal: Enter or Escape or $mod+r
165 bindsym Return mode "default"
166 bindsym Escape mode "default"
167 bindsym $mod+p mode "default"
170 bindsym $mod+p mode "resize"
174 hide_edge_borders both
176 focus_follows_mouse no
178 focus_on_window_activation urgent
179 # Start i3bar to display a workspace bar (plus the system information i3status
180 # finds out, if available)
183 status_command conky-i3bar
185 font pango:Liberation Mono 12
187 background $black_super
188 focused_background $black
189 focused_workspace $black_super $yellow_super $black
190 active_workspace $black_super $blue_super $black
191 inactive_workspace $black_super $black_super $white_super
192 urgent_workspace $black $red_super $white
196 font pango:Liberation Mono 10