summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2018-10-04 08:42:00 +0200
committerMax Christian Pohle2018-10-04 08:42:00 +0200
commit8180cf38e6198fce5cd30d84f633bc154191829f (patch)
tree2e4ca847a15bac5893e5b63fa335e2fd8becd671
parent40c0b3edf71713178c841860b81638f1c7ef8719 (diff)
downloadi3-8180cf38e6198fce5cd30d84f633bc154191829f.tar.bz2
i3-8180cf38e6198fce5cd30d84f633bc154191829f.zip
Refactored stuff
-rw-r--r--config374
-rwxr-xr-xi3lock7
2 files changed, 115 insertions, 266 deletions
diff --git a/config b/config
index 2522a5f..bc8dd3f 100644
--- a/config
+++ b/config
@@ -1,68 +1,48 @@
1# This file has been auto-generated by i3-config-wizard(1).
2# It will not be overwritten, so edit it as you like.
3#
4# Should you change your keyboard layout some time, delete
5# this file and re-run i3-config-wizard(1).
6#
7
8# i3 config file (v4) 1# i3 config file (v4)
9# 2#
10# Please see http://i3wm.org/docs/userguide.html for a complete reference! 3# Please see http://i3wm.org/docs/userguide.html for a complete reference!
11 4
5# load xrdb
6exec xrdb ~/.Xresources ; i3-msg reload
7
8# force_xinerama yes
12# fake-outputs 3840x1080+0+0 9# fake-outputs 3840x1080+0+0
13set $mod Mod4
14 10
15# Font for window titles. Will also be used by the bar unless a different font 11# we basically want to configure our font with ~/.config/fontconfig/*
16# is used in the bar {} block below 12font pango:FuraCode Nerd Font Mono Retina 9
17# font pango:monospace 12 13# font pango:Code New Roman Nerd Font 9
18 14
19# This font is widely installed, provides lots of unicode glyphs, right-to-left 15hide_edge_borders both
20# text rendering and scalability on retina/hidpi displays (thanks to pango). 16
21# font pango:Neris SemiBold 10 17set $mod Mod4
22# font pango:Source Code Pro SemiBold 9
23# font pango:Liberation Sans Mono Bold 11
24# font pango:DejaVu Sans Bold 9
25# font pango:Roboto Nerd Font Bold 8
26# font pango:FuraCode Nerd Font Mono Retina 9
27# font pango:Monoid Nerd Font Mono Retina 9
28# font pango:Hasklug Nerd Font 9
29# font pango:Roboto Nerd Font Bold 8
30# font pango:3270Narrow Nerd Font 10
31# font pango:mplus nerd font 9
32# font pango:dejavu sans nerd font 9
33# font pango:Anonymice Nerd Font 9
34#font pango:Inconsolata Nerd Font 9
35font pango:Code New Roman Nerd Font 9
36# font pango:ProFont IIx Nerd Font 8
37
38
39# Before i3 v4.8, we used to recommend this one as the default:
40# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
41# The font above is very space-efficient, that is, it looks good, sharp and
42# clear in small sizes. However, its unicode glyph coverage is limited, the old
43# X core fonts rendering does not support right-to-left and this being a bitmap
44# font, it doesn’t scale on retina/hidpi displays.
45 18
46# Use Mouse+$mod to drag floating windows to their wanted position 19# Use Mouse+$mod to drag floating windows to their wanted position
47floating_modifier $mod 20floating_modifier $mod
48# force_xinerama yes
49 21
50# start a terminal 22# start a terminal
51# bindsym $mod+Return exec i3-sensible-terminal 23# bindsym $mod+Return exec i3-sensible-terminal
52bindsym $mod+Return exec --no-startup-id xfce4-appfinder 24bindsym $mod+Return exec --no-startup-id xfce4-appfinder
53bindsym Mod1+F2 exec --no-startup-id rofi -show run -bg #222222 -fg #888888 -hlbg #285577 -hlfg #ffffff 25bindsym Mod1+F2 exec --no-startup-id rofi -show run -bg #222222 -fg #888888 -hlbg #285577 -hlfg #ffffff
54bindsym $mod+t exec --no-startup-id xfce4-terminal 26bindsym $mod+t exec --no-startup-id xfce4-terminal
55# bindsym $mod+t exec termite 27# bindsym $mod+t exec termite
56# bindsym $mod+t exec urxvt 28# bindsym $mod+t exec urxvt
57bindsym $mod+e exec --no-startup-id thunar 29bindsym $mod+e exec --no-startup-id thunar
58bindsym $mod+l exec --no-startup-id ~/.local/bin/i3lock -f -i "/home/max/.local/share/backgrounds/IMG_5656 - IMG_5684-02.png" 30bindsym $mod+l exec --no-startup-id ~/.local/bin/i3lock -f -i "/home/max/.local/share/backgrounds/IMG_5656 - IMG_5684-02.png"
59bindsym $mod+F10 exec pactl set-sink-mute 0 toggle 31
60bindsym $mod+F11 exec pactl set-sink-volume 0 -5% 32bindsym $mod+F10 exec pactl set-sink-mute 0 toggle
61bindsym $mod+F12 exec pactl set-sink-volume 0 +5% 33bindsym $mod+F11 exec pactl set-sink-volume 0 -5%
34bindsym $mod+F12 exec pactl set-sink-volume 0 +5%
35
36# Pulse Audio controls
37bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5% # increase sound volume
38bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5% # decrease sound volume
39bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle # mute sound
40
41bindcode 156 exec xrandr --output LVDS-1 --mode 1024x768 && xrandr --output LVDS-1 --mode 1280x800
62 42
63# kill focused window 43# kill focused window
64bindsym $mod+Shift+q kill 44bindsym $mod+Shift+q kill
65bindsym Mod1+F4 kill 45bindsym Mod1+F4 kill
66 46
67# start dmenu (a program launcher) 47# start dmenu (a program launcher)
68# bindsym $mod+d exec dmenu_run 48# bindsym $mod+d exec dmenu_run
@@ -73,25 +53,22 @@ bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
73# bindsym $mod+d exec --no-startup-id j4-dmenu-desktop 53# bindsym $mod+d exec --no-startup-id j4-dmenu-desktop
74 54
75 55
56bindsym $mod+Prior focus parent
57bindsym $mod+Next focus child
58bindsym $mod+Left [workspace="__focused__"] focus left
59bindsym $mod+Right [workspace="__focused__"] focus right
60bindsym $mod+Down [workspace="__focused__"] focus down
61bindsym $mod+Up [workspace="__focused__"] focus up
62bindsym $mod+Tab focus output right
63bindsym $mod+Shift+Tab focus output left
64bindsym mod1+Tab focus right
65bindsym mod1+Shift+Tab focus left
76 66
77# alternatively, you can use the cursor keys: 67# alternatively, you can use the cursor keys:
78# exec pkill -SIGRTMIN+11 i3blocks 68bindsym $mod+Shift+Left move left ; exec pkill -SIGRTMIN+11 i3blocks
79bindsym $mod+Left focus left 69bindsym $mod+Shift+Down move down ; exec pkill -SIGRTMIN+11 i3blocks
80bindsym $mod+Right focus right 70bindsym $mod+Shift+Up move up ; exec pkill -SIGRTMIN+11 i3blocks
81bindsym $mod+Down focus down 71bindsym $mod+Shift+Right move right ; exec pkill -SIGRTMIN+11 i3blocks
82bindsym $mod+Up focus up
83
84bindsym $mod+Tab focus output right
85bindsym $mod+Shift+Tab focus output left
86bindsym mod1+Tab focus right
87bindsym mod1+Shift+Tab focus left
88
89
90# alternatively, you can use the cursor keys:
91bindsym $mod+Shift+Left move left ; exec pkill -SIGRTMIN+11 i3blocks
92bindsym $mod+Shift+Down move down ; exec pkill -SIGRTMIN+11 i3blocks
93bindsym $mod+Shift+Up move up ; exec pkill -SIGRTMIN+11 i3blocks
94bindsym $mod+Shift+Right move right ; exec pkill -SIGRTMIN+11 i3blocks
95 72
96# split in horizontal orientation 73# split in horizontal orientation
97# bindsym $mod+h split h 74# bindsym $mod+h split h
@@ -136,6 +113,7 @@ set $WS8 8:❽
136set $WS9 9:❾ 113set $WS9 9:❾
137set $WS10 10:⓿ 114set $WS10 10:⓿
138 115
116assign [class="^Thunderbird$"] → $WS10
139 117
140# switch to workspace 118# switch to workspace
141bindsym Mod4+1 workspace $WS1 119bindsym Mod4+1 workspace $WS1
@@ -161,36 +139,6 @@ bindsym Mod4+Shift+8 move container to workspace $WS8
161bindsym Mod4+Shift+9 move container to workspace $WS9 139bindsym Mod4+Shift+9 move container to workspace $WS9
162bindsym Mod4+Shift+0 move container to workspace $WS10 140bindsym Mod4+Shift+0 move container to workspace $WS10
163 141
164
165# # switch to workspace
166# bindsym $mod+1 workspace number 1
167# bindsym $mod+2 workspace number 2
168# bindsym $mod+3 workspace number 3
169# bindsym $mod+4 workspace number 4
170# bindsym $mod+5 workspace number 5
171# bindsym $mod+6 workspace number 6
172# bindsym $mod+7 workspace number 7
173# bindsym $mod+8 workspace number 8
174# bindsym $mod+9 workspace number 9
175# bindsym $mod+0 workspace number 0
176# #
177# # # move focused container to workspace
178# bindsym $mod+Shift+1 move container to workspace number 1
179# bindsym $mod+Shift+2 move container to workspace number 2
180# bindsym $mod+Shift+3 move container to workspace number 3
181# bindsym $mod+Shift+4 move container to workspace number 4
182# bindsym $mod+Shift+5 move container to workspace number 5
183# bindsym $mod+Shift+6 move container to workspace number 6
184# bindsym $mod+Shift+7 move container to workspace number 7
185# bindsym $mod+Shift+8 move container to workspace number 8
186# bindsym $mod+Shift+9 move container to workspace number 9
187# bindsym $mod+Shift+0 move container to workspace number 0
188
189 # Pulse Audio controls
190bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
191bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
192bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
193
194workspace 1 output DP-1 142workspace 1 output DP-1
195workspace 2 output DP-1 143workspace 2 output DP-1
196workspace 3 output DP-1 144workspace 3 output DP-1
@@ -202,7 +150,6 @@ workspace 8 output HDMI-1
202workspace "music" output HDMI-1 150workspace "music" output HDMI-1
203workspace "background" output HDMI-1 151workspace "background" output HDMI-1
204 152
205
206# reload the configuration file 153# reload the configuration file
207bindsym $mod+Shift+c reload 154bindsym $mod+Shift+c reload
208# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) 155# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
@@ -214,96 +161,12 @@ bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcu
214bindsym $mod+m move scratchpad 161bindsym $mod+m move scratchpad
215bindsym $mod+Shift+m scratchpad show ; resize set 1920 920 ; move position center 162bindsym $mod+Shift+m scratchpad show ; resize set 1920 920 ; move position center
216 163
217# for_window [class="^.*"] border normal 3
218# for_window [title="^.*Thunderbird"] border pixel 0
219# for_window [title="^.*Chromium"] border pixel 0
220# for_window [class="Gvim"] border pixel 0
221# for_window [class="(?i)xfce4-terminal"] border pixel 0
222# for_window [class="(?i)xfce4-appfinder"] border pixel 0
223# # for_window [title="^.*\|"] border pixel 4
224# for_window [title="^HexChat.*"] border pixel 0
225# for_window [title="^.*"] exec pkill -SIGRTMIN+11 i3blocks
226# for_window [title="^.*"] exec pkill -SIGRTMIN+11 i3blocks
227# for_window [title="cairo-dock"] floating enable ; border none
228# for_window[class="Plank"] floating enable,move absolute center
229
230# for_window [class=".*"] title_format "┋ %title"
231
232# for_window [con_id="__focused__"] title_format "<u>%title</u>"
233hide_edge_borders both
234# smart_borders on
235# gaps inner 5
236# gaps outer 5
237
238bindsym $mod+r mode "resize"
239
240# # Start i3bar to display a workspace bar (plus the system information i3status
241# # finds out, if available)
242# bar {
243# status_command i3status --config ~/.config/i3/i3status.conf
244# # status_command i3blocks
245# colors {
246# # background #2a3448
247# # statusline #ffffff
248# background #ffffff
249# statusline #6060af
250# focused_workspace #6060af #ffffff #6060af
251# active_workspace #6060af #ffffff #888888
252# inactive_workspace #ffffff #ffffff #888888
253# urgent_workspace #2f343a #900000 #ffffff
254# binding_mode #2f343a #900000 #ffffff
255# }
256# # tray_output VGA1
257# # output HDMI1
258# # tray_output HDMI1
259# tray_padding 2
260# #font pango:DejaVu Sans Mono 11
261# #font pango:DejaVu Sans Mono 11
262# #font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
263# # font pango:DejaVu Sans Mono, Icons 8
264# # font pango:DejaVu Sans Mono, Awesome 8
265# # separator_symbol "┋"
266# separator_symbol "│"
267# position bottom
268# # output VGA1
269# binding_mode_indicator yes
270# # strip_workspace_numbers yes
271# }
272
273
274# client.focused #ffffff #061229 #ffffff #5299BF #ffffff
275# client.unfocused #000000 #061229 #ffffff #ff0000 #000000
276#colors: border backgr. text indicator
277
278client.focused #ffffff #000000 #ffffff #ffff00
279client.focused_inactive #ffffff #000000 #888888 #ffff00
280client.unfocused #ffffff #000000 #444444 #ffff00
281client.urgent #2a3448 #900000 #5299bf #ffff00
282client.background #000000 #000000 #0000ff #ffff00
283 164
284 165
285bindsym $mod+F2 exec i3-input -F 'rename workspace to "%s"' -P 'New name: ' 166bindsym $mod+F2 exec i3-input -F 'rename workspace to "%s"' -P 'New name: '
286bindsym Control+Mod1+Left workspace prev_on_output 167bindsym Control+Mod1+Left workspace prev_on_output
287bindsym Control+Mod1+Right workspace next_on_output 168bindsym Control+Mod1+Right workspace next_on_output
288 169
289# change focus
290# bindsym $mod+j focus left
291# bindsym $mod+k focus down
292# bindsym $mod+l focus up
293# bindsym $mod+semicolon focus right
294#
295# move focused window
296# bindsym $mod+Shift+j move left
297# bindsym $mod+Shift+k move down
298# bindsym $mod+Shift+l move up
299# bindsym $mod+Shift+semicolon move right
300
301# change focus
302# bindsym $mod+h focus left ; exec killall -USR1 i3status
303# bindsym $mod+j focus down ; exec killall -USR1 i3status
304# bindsym $mod+k focus up ; exec killall -USR1 i3status
305# bindsym $mod+l focus right ; exec killall -USR1 i3status
306
307# move focused window 170# move focused window
308bindsym $mod+Shift+h move left 171bindsym $mod+Shift+h move left
309bindsym $mod+Shift+j move down 172bindsym $mod+Shift+j move down
@@ -319,79 +182,55 @@ bindsym $mod+v split toggle
319bindsym $mod+space split toggle 182bindsym $mod+space split toggle
320 183
321 184
185
186bindsym $mod+r mode "resize"
322# resize window (you can also use the mouse for that) 187# resize window (you can also use the mouse for that)
323mode "resize" { 188mode "resize" {
324 # These bindings trigger as soon as you enter the resize mode 189 # These bindings trigger as soon as you enter the resize mode
325 190
326 # Pressing left will shrink the window’s width. 191 # Pressing left will shrink the window’s width.
327 # Pressing right will grow the window’s width. 192 # Pressing right will grow the window’s width.
328 # Pressing up will shrink the window’s height. 193 # Pressing up will shrink the window’s height.
329 # Pressing down will grow the window’s height. 194 # Pressing down will grow the window’s height.
330 bindsym $mod+h resize shrink width 4 px or 4 ppt 195 bindsym $mod+h resize shrink width 4 px or 4 ppt
331 bindsym $mod+j resize grow height 4 px or 4 ppt 196 bindsym $mod+j resize grow height 4 px or 4 ppt
332 bindsym $mod+k resize shrink height 4 px or 4 ppt 197 bindsym $mod+k resize shrink height 4 px or 4 ppt
333 bindsym $mod+l resize grow width 4 px or 4 ppt 198 bindsym $mod+l resize grow width 4 px or 4 ppt
334 199
335 # same bindings, but for the arrow keys 200 # same bindings, but for the arrow keys
336 bindsym Left resize shrink width 4 px or 4 ppt 201 bindsym Left resize shrink width 4 px or 4 ppt
337 bindsym Up resize grow height 4 px or 4 ppt 202 bindsym Up resize grow height 4 px or 4 ppt
338 bindsym Down resize shrink height 4 px or 4 ppt 203 bindsym Down resize shrink height 4 px or 4 ppt
339 bindsym Right resize grow width 4 px or 4 ppt 204 bindsym Right resize grow width 4 px or 4 ppt
340 205
341 # back to normal: Enter or Escape 206 # back to normal: Enter or Escape
342 bindsym Return mode "default" 207 bindsym Return mode "default"
343 bindsym Escape mode "default" 208 bindsym Escape mode "default"
344} 209}
345 210
346 211
347 212
348 213
349 214
350assign [class="^Thunderbird$"] → background
351
352 215
353
354
355# exec --no-startup-id /usr/lib/gnome-settings-daemon/gnome-settings-daemon
356exec --no-startup-id /usr/bin/gnome-keyring-daemon --start --components=secrets
357exec dbus-launch gnome-settings-daemon
358exec dbus-launch nm-applet
359
360# exec xrandr --output HDMI1 --fb 3270x1080 --scale 1.05468x1.05468
361# exec xrandr --output HDMI1 --fb 3270x1080 --right-of VGA1 --panning 1350x1080+1920+0 --scale 1.05468x1.05468
362exec xrandr --output HDMI-1 --right-of DP-1 216exec xrandr --output HDMI-1 --right-of DP-1
363# exec /usr/bin/xrandr-reset.sh
364
365# start compositor...
366exec --no-startup-id dbus-launch nitrogen --restore
367exec --no-startup-id dbus-launch compton -b --config ~/.config/i3/compton.conf
368exec --no-startup-id dbus-launch setsid udiskie -2 -s
369exec --no-startup-id dbus-launch setsid pidgin
370# exec --no-startup-id dbus-launch setsid hexchat
371# exec --no-startup-id dbus-launch nextcloud
372# exec --no-startup-id /usr/lib/gnome-settings-daemon/gnome-settings-daemon
373exec --no-startup-id /usr/bin/gnome-keyring-daemon --start --components=secrets
374
375# exec xrandr --output HDMI1 --fb 3270x1080 --scale 1.05468x1.05468
376# exec xrandr --output HDMI1 --fb 3270x1080 --right-of VGA1 --panning 1350x1080+1920+0 --scale 1.05468x1.05468
377# exec xrandr --output DVI-D-1-0 --right-of VGA-1
378# exec xrandr --output DVI-D-1-0 --auto --right-of VGA-1
379# exec /usr/bin/xrandr-reset.sh
380# exec xrandr --auto --output HDMI-1-1 --right-of DVI-I-2
381exec xrandr --output HDMI-1 --right-of VGA-1 217exec xrandr --output HDMI-1 --right-of VGA-1
218# exec /usr/bin/xrandr-reset.sh
219exec setxkbmap -option caps:escape
220exec xset r rate 330 40
221exec xinput --set-prop 'Xornet gaming mouse' 'libinput Accel Speed' 0.1
382 222
223exec gnome-keyring-daemon --start --components=secrets
383# start compositor... 224# start compositor...
384exec nitrogen --restore
385exec compton -b --config ~/.config/i3/compton.conf 225exec compton -b --config ~/.config/i3/compton.conf
386# exec dbus-launch setsid udiskie -2 -s 226exec nitrogen --restore
387exec setsid hexchat --minimize=2 227exec nm-applet
228
388 229
389 230
390 231
391exec setxkbmap -option caps:escape
392exec xset r rate 330 40
393exec xinput --set-prop 'Xornet gaming mouse' 'libinput Accel Speed' 0.1
394 232
233exec setsid dbus-launch hexchat --minimize=2
395 234
396 235
397# ============================================== 236# ==============================================
@@ -399,9 +238,6 @@ exec xinput --set-prop 'Xornet gaming mouse' 'libinput Accel Speed' 0.1
399# with default values from base16-tomorrow-night 238# with default values from base16-tomorrow-night
400# ============================================== 239# ==============================================
401 240
402# load xrdb
403exec xrdb ~/.Xresources
404
405# main variables variable Xressource default 241# main variables variable Xressource default
406set_from_resource $base00 base16.color0 #1d1f21 242set_from_resource $base00 base16.color0 #1d1f21
407set_from_resource $base01 base16.color10 #282a2e 243set_from_resource $base01 base16.color10 #282a2e
@@ -420,15 +256,14 @@ set_from_resource $base0D base16.color4 #81a2be
420set_from_resource $base0E base16.color5 #b294bb 256set_from_resource $base0E base16.color5 #b294bb
421set_from_resource $base0F base16.color14 #a3685a 257set_from_resource $base0F base16.color14 #a3685a
422# derived vars... variable Xressource default 258# derived vars... variable Xressource default
423set_from_resource $background base16.background $base00 259set_from_resource $background base16.background $background
424set_from_resource $foreground base16.foreground $base05 260set_from_resource $foreground base16.color13 $base05
425set_from_resource $foreground base16.cursor $base05 261set_from_resource $foreground base16.cursor $cursorColor
262# set_from_resource $foreground base16.cursor $base05
426 263
427# Basic bar configuration using the Base16 variables. 264# Basic bar configuration using the Base16 variables.
428bar { 265bar {
429 # status_command i3status
430 # status_command i3status --config ~/.config/i3/i3status.conf 266 # status_command i3status --config ~/.config/i3/i3status.conf
431 # status_command conky -c ~/.config/i3/conki3rc
432 status_command /home/max/src/i3status/i3status --config ~/.config/i3/i3status.conf 267 status_command /home/max/src/i3status/i3status --config ~/.config/i3/i3status.conf
433 268
434 tray_padding 2 269 tray_padding 2
@@ -437,35 +272,42 @@ bar {
437 separator_symbol "│" 272 separator_symbol "│"
438 273
439 colors { 274 colors {
440 background $background 275 background $base00
441 separator $base01 276 separator $base05
442 statusline $base04 277 statusline $base05
443
444 # Border Bg Text
445 # focused_workspace $base05 $base0D $base00
446 # active_workspace $base05 $base03 $base00
447 # inactive_workspace $base03 $base01 $base05
448 # urgent_workspace $base08 $base08 $base00
449 # binding_mode $base00 $base0A $base00
450 278
451 focused_workspace $background $background $base05 279 focused_workspace $background $background $base05
452 active_workspace $background $background $base05 280 active_workspace $background $background $base05
453 inactive_workspace $background $background $base03 281 inactive_workspace $background $background $base03
454 urgent_workspace $background $background $base08 282 urgent_workspace $background $background $base08
455 binding_mode $background $background $base00 283 binding_mode $background $background $base00
456 } 284}
457} 285}
458 286
459# Basic color configuration using the Base16 variables for windows and borders. 287# Basic color configuration using the Base16 variables for windows and borders.
460# Property Name Border BG Text Indicator Child Border 288# Property Name Border BG Text Indicator Child Border
461client.focused $base05 $base0D $base00 $base0D $base0D 289client.focused $base05 $base0D $base00 $base0D $base0D
462client.focused_inactive $base01 $base01 $base05 $base03 $base01 290client.focused_inactive $base01 $base01 $base05 $base03 $base01
463client.unfocused $base01 $base00 $base05 $base01 $base01 291client.unfocused $base01 $base00 $base05 $base01 $base01
464client.urgent $base08 $base08 $base00 $base08 $base08 292client.urgent $base08 $base08 $base00 $base08 $base08
465client.placeholder $base00 $base00 $base05 $base00 $base00 293client.placeholder $base00 $base00 $base05 $base00 $base00
466client.background $base07 294client.background $background
467 295
468 296
297# for_window [class="^.*"] border normal 3
298# for_window [title="^.*Thunderbird"] border pixel 0
299# for_window [title="^.*Chromium"] border pixel 0
300# for_window [class="Gvim"] border pixel 0
301# for_window [class="(?i)xfce4-terminal"] border pixel 0
302# for_window [class="(?i)xfce4-appfinder"] border pixel 0
303# # for_window [title="^.*\|"] border pixel 4
304# for_window [title="^HexChat.*"] border pixel 0
305# for_window [title="^.*"] exec pkill -SIGRTMIN+11 i3blocks
306# for_window [title="^.*"] exec pkill -SIGRTMIN+11 i3blocks
307# for_window [title="cairo-dock"] floating enable ; border none
308# for_window[class="Plank"] floating enable,move absolute center
309# for_window [class=".*"] title_format "┋ %title"
310# for_window [con_id="__focused__"] title_format "<u>%title</u>"
469 311
470 312
471# vim: iskeyword+=\$,\-,\# nospell 313# vim: iskeyword+=\$,\-,\# nospell ft=tcl
diff --git a/i3lock b/i3lock
new file mode 100755
index 0000000..c0058ec
--- /dev/null
+++ b/i3lock
@@ -0,0 +1,7 @@
1xwd -root | convert xwd:- -filter Gaussian -thumbnail 20% -sample 500% \
2 \( -background none -density 250x250 /usr/share/icons/ContrastHigh/scalable/actions/system-lock-screen.svg -gravity center -geometry -960 \) -compose over -composite /tmp/i3lock.png
3
4/usr/bin/i3lock -f -i /tmp/i3lock.png
5
6# sleep 1
7xset dpms force off
..