diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/i3/config##mobile.Linux.Luchs | 56 |
1 files changed, 53 insertions, 3 deletions
diff --git a/.config/i3/config##mobile.Linux.Luchs b/.config/i3/config##mobile.Linux.Luchs index f09618f..3eefb06 100644 --- a/.config/i3/config##mobile.Linux.Luchs +++ b/.config/i3/config##mobile.Linux.Luchs | |||
@@ -200,6 +200,7 @@ mode "resize" { | |||
200 | bindsym Escape mode "default" | 200 | bindsym Escape mode "default" |
201 | bindsym $mod+r mode "default" | 201 | bindsym $mod+r mode "default" |
202 | } | 202 | } |
203 | bindsym $mod+r mode "resize" | ||
203 | 204 | ||
204 | # session | 205 | # session |
205 | mode " (L)ock (S)ignout (R)eboot (P)oweroff" { | 206 | mode " (L)ock (S)ignout (R)eboot (P)oweroff" { |
@@ -210,12 +211,61 @@ mode " (L)ock (S)ignout (R)eboot (P)oweroff" { | |||
210 | bindcode 66 mode "default" | 211 | bindcode 66 mode "default" |
211 | } | 212 | } |
212 | bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" | 213 | bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" |
214 | |||
213 | bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh | 215 | bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh |
214 | 216 | ||
215 | bindsym $mod+r mode "resize" | 217 | set $mode_gaps Gaps: (o)uter, (i)nner |
218 | #, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft | ||
219 | set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) | ||
220 | set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) | ||
221 | # set $mode_gaps_horiz Horizontal Gaps: +|-|0 (local), Shift + +|-|0 (global) | ||
222 | # set $mode_gaps_verti Vertical Gaps: +|-|0 (local), Shift + +|-|0 (global) | ||
223 | # set $mode_gaps_top Top Gaps: +|-|0 (local), Shift + +|-|0 (global) | ||
224 | # set $mode_gaps_right Right Gaps: +|-|0 (local), Shift + +|-|0 (global) | ||
225 | # set $mode_gaps_bottom Bottom Gaps: +|-|0 (local), Shift + +|-|0 (global) | ||
226 | # set $mode_gaps_left Left Gaps: +|-|0 (local), Shift + +|-|0 (global) | ||
227 | bindsym $mod+Shift+g mode "$mode_gaps" | ||
228 | |||
229 | mode "$mode_gaps" { | ||
230 | bindsym o mode "$mode_gaps_outer" | ||
231 | bindsym i mode "$mode_gaps_inner" | ||
232 | # bindsym h mode "$mode_gaps_horiz" | ||
233 | # bindsym v mode "$mode_gaps_verti" | ||
234 | # bindsym t mode "$mode_gaps_top" | ||
235 | # bindsym r mode "$mode_gaps_right" | ||
236 | # bindsym b mode "$mode_gaps_bottom" | ||
237 | # bindsym l mode "$mode_gaps_left" | ||
238 | # bindsym Return mode "$mode_gaps" | ||
239 | bindsym Escape mode "default" | ||
240 | } | ||
216 | 241 | ||
217 | for_window [class=".*"] border pixel 3 | 242 | mode "$mode_gaps_outer" { |
218 | for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable | 243 | bindsym plus gaps outer current plus 5 |
244 | bindsym minus gaps outer current minus 5 | ||
245 | bindsym 0 gaps outer current set 0 | ||
246 | |||
247 | bindsym Shift+plus gaps outer all plus 5 | ||
248 | bindsym Shift+minus gaps outer all minus 5 | ||
249 | bindsym Shift+0 gaps outer all set 0 | ||
250 | |||
251 | bindsym Return mode "$mode_gaps" | ||
252 | bindsym Escape mode "default" | ||
253 | } | ||
254 | mode "$mode_gaps_inner" { | ||
255 | bindsym plus gaps inner current plus 5 | ||
256 | bindsym minus gaps inner current minus 5 | ||
257 | bindsym 0 gaps inner current set 0 | ||
258 | |||
259 | bindsym Shift+plus gaps inner all plus 5 | ||
260 | bindsym Shift+minus gaps inner all minus 5 | ||
261 | bindsym Shift+0 gaps inner all set 0 | ||
262 | |||
263 | bindsym Return mode "$mode_gaps" | ||
264 | bindsym Escape mode "default" | ||
265 | } | ||
266 | |||
267 | for_window [class=".*"] border pixel 0 | ||
268 | for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable | ||
219 | for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable | 269 | for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable |
220 | assign [class="^Thunderbird$"] 8 | 270 | assign [class="^Thunderbird$"] 8 |
221 | 271 | ||