summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/i3/config##mobile.Linux.Luchs56
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}
203bindsym $mod+r mode "resize"
203 204
204# session 205# session
205mode " (L)ock (S)ignout (R)eboot (P)oweroff" { 206mode " (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}
212bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" 213bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff"
214
213bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh 215bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh
214 216
215bindsym $mod+r mode "resize" 217set $mode_gaps Gaps: (o)uter, (i)nner
218#, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft
219set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
220set $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)
227bindsym $mod+Shift+g mode "$mode_gaps"
228
229mode "$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
217for_window [class=".*"] border pixel 3 242mode "$mode_gaps_outer" {
218for_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}
254mode "$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
267for_window [class=".*"] border pixel 0
268for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable
219for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable 269for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable
220assign [class="^Thunderbird$"] 8 270assign [class="^Thunderbird$"] 8
221 271