summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMax Christian Pohle2017-05-02 08:10:10 +0200
committerMax Christian Pohle2017-05-02 08:10:10 +0200
commit5011ed6adc06ba6e3a55953e25a36c9105bed171 (patch)
tree0a20d0c0bb0c1ee68e9c75dd4fa4bd5f743a5791 /config
parent9a6771b513520222e6c967dbadd982021f71235e (diff)
downloadi3-5011ed6adc06ba6e3a55953e25a36c9105bed171.tar.bz2
i3-5011ed6adc06ba6e3a55953e25a36c9105bed171.zip
White version with several usability improvements
Diffstat (limited to 'config')
-rw-r--r--config104
1 files changed, 73 insertions, 31 deletions
diff --git a/config b/config
index 0a3cbde..67b177b 100644
--- a/config
+++ b/config
@@ -18,7 +18,8 @@ set $mod Mod4
18# This font is widely installed, provides lots of unicode glyphs, right-to-left 18# This font is widely installed, provides lots of unicode glyphs, right-to-left
19# text rendering and scalability on retina/hidpi displays (thanks to pango). 19# text rendering and scalability on retina/hidpi displays (thanks to pango).
20# font pango:Neris SemiBold 10 20# font pango:Neris SemiBold 10
21font pango:Source Code Pro Bold 11 21font pango:Source Code Pro SemiBold 11
22# font pango:Liberation Sans Mono Bold 11
22# font pango:DejaVu Sans Mono 12 23# font pango:DejaVu Sans Mono 12
23 24
24# Before i3 v4.8, we used to recommend this one as the default: 25# Before i3 v4.8, we used to recommend this one as the default:
@@ -36,6 +37,8 @@ floating_modifier $mod
36bindsym $mod+Return exec xfce4-appfinder 37bindsym $mod+Return exec xfce4-appfinder
37bindsym Mod1+F2 exec --no-startup-id rofi -show run -bg #222222 -fg #888888 -hlbg #285577 -hlfg #ffffff 38bindsym Mod1+F2 exec --no-startup-id rofi -show run -bg #222222 -fg #888888 -hlbg #285577 -hlfg #ffffff
38bindsym $mod+t exec xfce4-terminal 39bindsym $mod+t exec xfce4-terminal
40# bindsym $mod+t exec termite
41# bindsym $mod+t exec urxvt
39bindsym $mod+e exec thunar 42bindsym $mod+e exec thunar
40 43
41# kill focused window 44# kill focused window
@@ -58,6 +61,8 @@ bindsym $mod+Down focus down ; exec pkill -SIGRTMIN+11 i3blocks
58bindsym $mod+Up focus up ; exec pkill -SIGRTMIN+11 i3blocks 61bindsym $mod+Up focus up ; exec pkill -SIGRTMIN+11 i3blocks
59bindsym $mod+Right focus right ; exec pkill -SIGRTMIN+11 i3blocks 62bindsym $mod+Right focus right ; exec pkill -SIGRTMIN+11 i3blocks
60 63
64bindsym Mod1+Tab focus right
65bindsym Mod1+Shift+Tab focus left
61 66
62 67
63# alternatively, you can use the cursor keys: 68# alternatively, you can use the cursor keys:
@@ -104,8 +109,8 @@ bindsym $mod+5 workspace 5
104bindsym $mod+6 workspace 6 109bindsym $mod+6 workspace 6
105bindsym $mod+7 workspace 7 110bindsym $mod+7 workspace 7
106bindsym $mod+8 workspace 8 111bindsym $mod+8 workspace 8
107bindsym $mod+9 workspace 9 112bindsym $mod+9 workspace music
108bindsym $mod+0 workspace 10 113bindsym $mod+0 workspace background
109 114
110# move focused container to workspace 115# move focused container to workspace
111bindsym $mod+Shift+1 move container to workspace 1 116bindsym $mod+Shift+1 move container to workspace 1
@@ -116,8 +121,20 @@ bindsym $mod+Shift+5 move container to workspace 5
116bindsym $mod+Shift+6 move container to workspace 6 121bindsym $mod+Shift+6 move container to workspace 6
117bindsym $mod+Shift+7 move container to workspace 7 122bindsym $mod+Shift+7 move container to workspace 7
118bindsym $mod+Shift+8 move container to workspace 8 123bindsym $mod+Shift+8 move container to workspace 8
119bindsym $mod+Shift+9 move container to workspace 9 124bindsym $mod+Shift+9 move container to workspace music
120bindsym $mod+Shift+0 move container to workspace 10 125bindsym $mod+Shift+0 move container to workspace background
126
127workspace 1 output VGA1
128workspace 2 output VGA1
129workspace 3 output VGA1
130workspace 4 output VGA1
131workspace 5 output VGA1
132workspace 6 output HDMI1
133workspace 7 output HDMI1
134workspace 8 output HDMI1
135workspace "music" output HDMI1
136workspace "background" output HDMI1
137
121 138
122# reload the configuration file 139# reload the configuration file
123bindsym $mod+Shift+c reload 140bindsym $mod+Shift+c reload
@@ -130,17 +147,20 @@ bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcu
130bindsym $mod+m move scratchpad 147bindsym $mod+m move scratchpad
131bindsym $mod+Shift+m scratchpad show ; resize set 1920 920 ; move position center 148bindsym $mod+Shift+m scratchpad show ; resize set 1920 920 ; move position center
132 149
133for_window [class="^.*"] border normal 4 150for_window [class="^.*"] border normal 2
134for_window [title="^.*Thunderbird"] border pixel 0 151for_window [title="^.*Thunderbird"] border pixel 0
152for_window [title="^.*Chromium"] border pixel 0
153# for_window [title="^.*\|"] border pixel 4
135for_window [title="^HexChat.*"] border pixel 0 154for_window [title="^HexChat.*"] border pixel 0
136for_window [title="^.*"] exec pkill -SIGRTMIN+11 i3blocks 155for_window [title="^.*"] exec pkill -SIGRTMIN+11 i3blocks
137for_window [title="^.*"] exec pkill -SIGRTMIN+11 i3blocks 156for_window [title="^.*"] exec pkill -SIGRTMIN+11 i3blocks
138for_window [title="cairo-dock"] floating enable ; border none 157for_window [title="cairo-dock"] floating enable ; border none
139for_window[class="Plank"] floating enable,move absolute center 158for_window[class="Plank"] floating enable,move absolute center
140 159
141 160for_window [class=".*"] title_format "┋ %title"
142 161# for_window [con_id="__focused__"] title_format "<u>%title</u>"
143smart_borders on 162# hide_edge_borders both
163# smart_borders on
144# gaps inner 5 164# gaps inner 5
145# gaps outer 5 165# gaps outer 5
146 166
@@ -152,16 +172,30 @@ bar {
152 status_command i3status --config ~/.config/i3/i3status.conf 172 status_command i3status --config ~/.config/i3/i3status.conf
153 # status_command i3blocks 173 # status_command i3blocks
154 colors { 174 colors {
155 background #2a3448 175 # background #2a3448
156 statusline #ffffff 176 # statusline #ffffff
177 background #ffffff
178 statusline #000000
179 focused_workspace #ffffff #ffffff #000000
180 active_workspace #ffffff #ffffff #888888
181 inactive_workspace #ffffff #ffffff #888888
182 urgent_workspace #2f343a #900000 #ffffff
183 binding_mode #2f343a #900000 #ffffff
157 } 184 }
158 # tray_output VGA1 185 # tray_output VGA1
159 # tray_padding 4 186 # output HDMI1
160 # font pango:DejaVu Sans Mono 12 187 # tray_output HDMI1
161 # separator_symbol "┋" 188 tray_padding 2
189 #font pango:DejaVu Sans Mono 11
190 #font pango:DejaVu Sans Mono 11
191 #font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
192 # font pango:DejaVu Sans Mono, Icons 8
193 # font pango:DejaVu Sans Mono, Awesome 8
194 separator_symbol "┋"
162 position bottom 195 position bottom
163 # output VGA1 196 # output VGA1
164 binding_mode_indicator yes 197 binding_mode_indicator yes
198 # strip_workspace_numbers yes
165} 199}
166 200
167 201
@@ -169,13 +203,12 @@ bar {
169# client.unfocused #000000 #061229 #ffffff #ff0000 #000000 203# client.unfocused #000000 #061229 #ffffff #ff0000 #000000
170#colors: border backgr. text indicator 204#colors: border backgr. text indicator
171 205
172client.focused #2a3448 #5299bf #2a3448 #f0a000 206client.focused #ffffff #ffffff #000000 #000000
173client.focused_inactive #061229 #061229 #ffffff #ffffff 207client.focused_inactive #ffffff #ffffff #888888 #ffffff
174client.unfocused #061229 #061229 #5299bf #ffffff 208client.unfocused #ffffff #ffffff #888888 #ffffff
175client.urgent #2a3448 #900000 #5299bf #ffffff 209client.urgent #2a3448 #900000 #5299bf #ffffff
176client.background #000000 #000000 #000000 #ffffff 210client.background #000000 #000000 #000000 #ffffff
177 211
178# hide_edge_borders both
179 212
180bindsym $mod+F2 exec i3-input -F 'rename workspace to "%s"' -P 'New name: ' 213bindsym $mod+F2 exec i3-input -F 'rename workspace to "%s"' -P 'New name: '
181bindsym Control+Mod1+Left workspace prev_on_output 214bindsym Control+Mod1+Left workspace prev_on_output
@@ -222,16 +255,16 @@ mode "resize" {
222 # Pressing right will grow the window’s width. 255 # Pressing right will grow the window’s width.
223 # Pressing up will shrink the window’s height. 256 # Pressing up will shrink the window’s height.
224 # Pressing down will grow the window’s height. 257 # Pressing down will grow the window’s height.
225 bindsym $mod+h resize shrink width 10 px or 10 ppt 258 bindsym $mod+h resize shrink width 1 px or 1 ppt
226 bindsym $mod+j resize grow height 10 px or 10 ppt 259 bindsym $mod+j resize grow height 4 px or 4 ppt
227 bindsym $mod+k resize shrink height 10 px or 10 ppt 260 bindsym $mod+k resize shrink height 4 px or 4 ppt
228 bindsym $mod+l resize grow width 10 px or 10 ppt 261 bindsym $mod+l resize grow width 1 px or 1 ppt
229 262
230 # same bindings, but for the arrow keys 263 # same bindings, but for the arrow keys
231 bindsym Left resize shrink width 10 px or 10 ppt 264 bindsym Left resize shrink width 1 px or 1 ppt
232 bindsym Down resize grow height 10 px or 10 ppt 265 bindsym Up resize grow height 4 px or 4 ppt
233 bindsym Up resize shrink height 10 px or 10 ppt 266 bindsym Down resize shrink height 4 px or 4 ppt
234 bindsym Right resize grow width 10 px or 10 ppt 267 bindsym Right resize grow width 1 px or 1 ppt
235 268
236 # back to normal: Enter or Escape 269 # back to normal: Enter or Escape
237 bindsym Return mode "default" 270 bindsym Return mode "default"
@@ -242,13 +275,22 @@ mode "resize" {
242 275
243 276
244 277
245exec --no-startup-id dbus-launch gnome-settings-daemon 278assign [class="^Thunderbird$"] → background
246exec --no-startup-id dbus-launch nm-applet
247exec --no-startup-id dbus-launch nextcloud
248 279
249exec --no-startup-id setxkbmap -option caps:escape 280exec --no-startup-id setxkbmap -option caps:escape
250exec --no-startup-id xset r rate 330 40 281exec --no-startup-id xset r rate 330 40
251 282
283exec --no-startup-id dbus-launch gnome-settings-daemon
284exec --no-startup-id dbus-launch nm-applet
285
286# exec xrandr --output HDMI1 --fb 3270x1080 --scale 1.05468x1.05468
287# exec xrandr --output HDMI1 --fb 3270x1080 --right-of VGA1 --panning 1350x1080+1920+0 --scale 1.05468x1.05468
288exec /usr/bin/xrandr-reset.sh
289
252# start compositor... 290# start compositor...
253exec --no-startup-id compton -bc 291exec --no-startup-id dbus-launch nitrogen --restore
254exec --no-startup-id nitrogen --restore 292exec --no-startup-id dbus-launch compton -b --config /home/max/.config/i3/compton.conf
293exec --no-startup-id dbus-launch setsid udiskie -2 -s
294exec --no-startup-id dbus-launch nextcloud
295
296
..