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
32 font pango:Liberation Mono 8
34 # Use Mouse+$mod to drag floating windows to their wanted position
35 floating_modifier $mod
37 bindsym Control+t mode "$ratpoison"
51 # All/most commands in this mode should revert to the default mode on comleption.
52 # We are emulating ratpoison (kinda) here
54 # Moving to workspaces
55 # bindsym n workspace next mode "default"
56 # bindsym Shift+n workspace prev mode "default"
58 bindsym 1 mode "default" workspace $ws1
59 bindsym 2 mode "default" workspace $ws2
60 bindsym 3 mode "default" workspace $ws3
61 bindsym 4 mode "default" workspace $ws4
62 bindsym 5 mode "default" workspace $ws5
63 bindsym 6 mode "default" workspace $ws6
64 bindsym 7 mode "default" workspace $ws7
65 bindsym 8 mode "default" workspace $ws8
66 bindsym 9 mode "default" workspace $ws9
67 bindsym 0 mode "default" workspace $ws10
69 bindsym Shift+1 mode "default" move container to workspace $ws1
70 bindsym Shift+2 mode "default" move container to workspace $ws2
71 bindsym Shift+3 mode "default" move container to workspace $ws3
72 bindsym Shift+4 mode "default" move container to workspace $ws4
73 bindsym Shift+5 mode "default" move container to workspace $ws5
74 bindsym Shift+6 mode "default" move container to workspace $ws6
75 bindsym Shift+7 mode "default" move container to workspace $ws7
76 bindsym Shift+8 mode "default" move container to workspace $ws8
77 bindsym Shift+9 mode "default" move container to workspace $ws9
78 bindsym Shift+0 mode "default" move container to workspace $ws10
81 # bindsym Tab focus right mode "default"
82 # bindsym Shift+Tab focus left mode "default"
84 bindsym h focus left mode "default"
85 bindsym j focus down mode "default"
86 bindsym k focus up mode "default"
87 bindsym l focus right mode "default"
91 bindsym Shift+h mode "default" move left
92 bindsym Shift+j mode "default" move down
93 bindsym Shift+k mode "default" move up
94 bindsym Shift+l mode "default" move right
96 # Changing split modes
97 bindsym v split v mode "default"
98 bindsym o split h mode "default"
101 bindsym c mode "default" exec i3-sensible-terminal
102 bindsym q mode "default" kill
104 bindsym Shift+e mode "default" exec dmenu_run
106 bindsym Escape mode "default"
108 bindsym $mod+l mode "default" exec "i3lock -i ~/Pictures/lockscreen.png"
114 # There also is the (new) i3-dmenu-desktop which only displays applications
115 # shipping a .desktop file. It is a wrapper around dmenu, so you need that
117 # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
119 # enter fullscreen mode for the focused container
120 bindsym $mod+t fullscreen toggle
122 # change container layout (stacked, tabbed, toggle split)
123 bindsym $mod+r layout stacking
124 bindsym $mod+w layout tabbed
125 bindsym $mod+f layout toggle split
127 # toggle tiling / floating
128 bindsym $mod+Shift+space floating toggle
130 # change focus between tiling / floating windows
131 bindsym $mod+space focus mode_toggle
133 # focus the parent container
134 bindsym $mod+a focus parent
136 # focus the child container
137 #bindsym $mod+d focus child
139 #reload the configuration file
140 bindsym $mod+Shift+c reload
141 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
142 bindsym $mod+Shift+r restart
143 # exit i3 (logs you out of your X session)
144 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'"
146 # resize window (you can also use the mouse for that)
148 # These bindings trigger as soon as you enter the resize mode
150 # Pressing left will shrink the window’s width.
151 # Pressing right will grow the window’s width.
152 # Pressing up will shrink the window’s height.
153 # Pressing down will grow the window’s height.
154 bindsym h resize shrink width 10 px or 10 ppt
155 bindsym j resize grow height 10 px or 10 ppt
156 bindsym k resize shrink height 10 px or 10 ppt
157 bindsym l resize grow width 10 px or 10 ppt
159 # same bindings, but for the arrow keys
160 bindsym Left resize shrink width 10 px or 10 ppt
161 bindsym Down resize grow height 10 px or 10 ppt
162 bindsym Up resize shrink height 10 px or 10 ppt
163 bindsym Right resize grow width 10 px or 10 ppt
165 # back to normal: Enter or Escape or $mod+r
166 bindsym Return mode "default"
167 bindsym Escape mode "default"
168 bindsym $mod+p mode "default"
171 bindsym $mod+p mode "resize"
175 hide_edge_borders both
176 workspace 1 output HDMI2
177 workspace 2 output VGA1
179 focus_follows_mouse no
181 focus_on_window_activation urgent
183 for_window [class="^rdesktop"] move workspace number 9; floating disable
189 # Start i3bar to display a workspace bar (plus the system information i3status
190 # finds out, if available)
193 status_command conky-i3bar
196 font pango:Liberation Mono 10
198 background $black_super
199 focused_background $black
200 focused_workspace $black_super $yellow_super $black
201 active_workspace $black_super $blue_super $black
202 inactive_workspace $black_super $black_super $white_super
203 urgent_workspace $black $red_super $white
211 font pango:Liberation Mono 10
213 background $black_super
214 focused_background $black
215 focused_workspace $black_super $yellow_super $black
216 active_workspace $black_super $blue_super $black
217 inactive_workspace $black_super $black_super $white_super
218 urgent_workspace $black $red_super $white