diff options
author | Yigit Sever | 2019-07-03 18:00:42 +0300 |
---|---|---|
committer | Yigit Sever | 2019-07-03 18:00:42 +0300 |
commit | 58dfd563ea53dc1bf57018e9ff72fda6f1b9702a (patch) | |
tree | ba51aca6f2ff32bc92a1193c21ed3c88f4bcf148 | |
parent | 234858e12734d0d200405ae292b1337a9920a798 (diff) | |
download | dotfiles-58dfd563ea53dc1bf57018e9ff72fda6f1b9702a.tar.gz dotfiles-58dfd563ea53dc1bf57018e9ff72fda6f1b9702a.tar.bz2 dotfiles-58dfd563ea53dc1bf57018e9ff72fda6f1b9702a.zip |
Flashfocus parity
-rw-r--r-- | .config/i3/config##desktop.Linux.Lowe | 2 | ||||
-rw-r--r-- | .config/i3/config##desktop.Linux.Maus | 58 |
2 files changed, 54 insertions, 6 deletions
diff --git a/.config/i3/config##desktop.Linux.Lowe b/.config/i3/config##desktop.Linux.Lowe index 69b3edd..106cbe5 100644 --- a/.config/i3/config##desktop.Linux.Lowe +++ b/.config/i3/config##desktop.Linux.Lowe | |||
@@ -39,7 +39,6 @@ bindsym $mod+Shift+t exec --no-startup-id ~/bin/td | |||
39 | # swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic) | 39 | # swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic) |
40 | bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" | 40 | bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" |
41 | 41 | ||
42 | |||
43 | # use flameshot with print screen | 42 | # use flameshot with print screen |
44 | bindsym Print exec flameshot gui | 43 | bindsym Print exec flameshot gui |
45 | 44 | ||
@@ -230,7 +229,6 @@ mode "$mode_gaps_inner" { | |||
230 | bindsym Escape mode "default" | 229 | bindsym Escape mode "default" |
231 | } | 230 | } |
232 | 231 | ||
233 | |||
234 | for_window [class=".*"] border pixel 0 | 232 | for_window [class=".*"] border pixel 0 |
235 | for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable | 233 | for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable |
236 | for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable | 234 | for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable |
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 | ||