diff options
Diffstat (limited to '.config/i3/config##desktop.Linux.Maus')
-rw-r--r-- | .config/i3/config##desktop.Linux.Maus | 58 |
1 files changed, 54 insertions, 4 deletions
diff --git a/.config/i3/config##desktop.Linux.Maus b/.config/i3/config##desktop.Linux.Maus index 88f7e71..33c2484 100644 --- a/.config/i3/config##desktop.Linux.Maus +++ b/.config/i3/config##desktop.Linux.Maus | |||
@@ -29,10 +29,12 @@ exec --no-startup-id conky --daemonize -c ~/.config/conky/task.conf | |||
29 | # set the wallpaper last (hopefully after xrandr) | 29 | # set the wallpaper last (hopefully after xrandr) |
30 | exec --no-startup-id ~/.fehbg | 30 | exec --no-startup-id ~/.fehbg |
31 | 31 | ||
32 | exec_always --no-startup-id flashfocus | ||
33 | |||
32 | gaps inner 0 | 34 | gaps inner 0 |
33 | gaps outer 0 | 35 | gaps outer 0 |
34 | 36 | ||
35 | smart_gaps on | 37 | # smart_gaps on |
36 | 38 | ||
37 | # Font for window titles | 39 | # Font for window titles |
38 | font pango:Lato 11 | 40 | font pango:Lato 11 |
@@ -187,6 +189,7 @@ mode "resize" { | |||
187 | bindsym Escape mode "default" | 189 | bindsym Escape mode "default" |
188 | bindsym $mod+r mode "default" | 190 | bindsym $mod+r mode "default" |
189 | } | 191 | } |
192 | bindsym $mod+r mode "resize" | ||
190 | 193 | ||
191 | # session | 194 | # session |
192 | mode " (L)ock (S)ignout (R)eboot (P)oweroff" { | 195 | mode " (L)ock (S)ignout (R)eboot (P)oweroff" { |
@@ -199,12 +202,59 @@ mode " (L)ock (S)ignout (R)eboot (P)oweroff" { | |||
199 | bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" | 202 | bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" |
200 | bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh | 203 | bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh |
201 | 204 | ||
202 | bindsym $mod+r mode "resize" | 205 | set $mode_gaps Gaps: (o)uter, (i)nner |
206 | #, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft | ||
207 | set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) | ||
208 | set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) | ||
209 | # set $mode_gaps_horiz Horizontal Gaps: +|-|0 (local), Shift + +|-|0 (global) | ||
210 | # set $mode_gaps_verti Vertical Gaps: +|-|0 (local), Shift + +|-|0 (global) | ||
211 | # set $mode_gaps_top Top Gaps: +|-|0 (local), Shift + +|-|0 (global) | ||
212 | # set $mode_gaps_right Right Gaps: +|-|0 (local), Shift + +|-|0 (global) | ||
213 | # set $mode_gaps_bottom Bottom Gaps: +|-|0 (local), Shift + +|-|0 (global) | ||
214 | # set $mode_gaps_left Left Gaps: +|-|0 (local), Shift + +|-|0 (global) | ||
215 | bindsym $mod+Shift+g mode "$mode_gaps" | ||
216 | |||
217 | mode "$mode_gaps" { | ||
218 | bindsym o mode "$mode_gaps_outer" | ||
219 | bindsym i mode "$mode_gaps_inner" | ||
220 | # bindsym h mode "$mode_gaps_horiz" | ||
221 | # bindsym v mode "$mode_gaps_verti" | ||
222 | # bindsym t mode "$mode_gaps_top" | ||
223 | # bindsym r mode "$mode_gaps_right" | ||
224 | # bindsym b mode "$mode_gaps_bottom" | ||
225 | # bindsym l mode "$mode_gaps_left" | ||
226 | # bindsym Return mode "$mode_gaps" | ||
227 | bindsym Escape mode "default" | ||
228 | } | ||
229 | |||
230 | mode "$mode_gaps_outer" { | ||
231 | bindsym plus gaps outer current plus 5 | ||
232 | bindsym minus gaps outer current minus 5 | ||
233 | bindsym 0 gaps outer current set 0 | ||
203 | 234 | ||
204 | for_window [class=".*"] border pixel 3 | 235 | bindsym Shift+plus gaps outer all plus 5 |
236 | bindsym Shift+minus gaps outer all minus 5 | ||
237 | bindsym Shift+0 gaps outer all set 0 | ||
238 | |||
239 | bindsym Return mode "$mode_gaps" | ||
240 | bindsym Escape mode "default" | ||
241 | } | ||
242 | mode "$mode_gaps_inner" { | ||
243 | bindsym plus gaps inner current plus 5 | ||
244 | bindsym minus gaps inner current minus 5 | ||
245 | bindsym 0 gaps inner current set 0 | ||
246 | |||
247 | bindsym Shift+plus gaps inner all plus 5 | ||
248 | bindsym Shift+minus gaps inner all minus 5 | ||
249 | bindsym Shift+0 gaps inner all set 0 | ||
250 | |||
251 | bindsym Return mode "$mode_gaps" | ||
252 | bindsym Escape mode "default" | ||
253 | } | ||
254 | |||
255 | for_window [class=".*"] border pixel 0 | ||
205 | for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable | 256 | for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable |
206 | for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable | 257 | for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable |
207 | |||
208 | assign [class="^Steam$"] 9 | 258 | assign [class="^Steam$"] 9 |
209 | assign [class="^Thunderbird$"] 8 | 259 | assign [class="^Thunderbird$"] 8 |
210 | 260 | ||