summaryrefslogtreecommitdiffstats
path: root/.config/i3
diff options
context:
space:
mode:
authorYigit Sever2019-07-03 18:00:42 +0300
committerYigit Sever2019-07-03 18:00:42 +0300
commit58dfd563ea53dc1bf57018e9ff72fda6f1b9702a (patch)
treeba51aca6f2ff32bc92a1193c21ed3c88f4bcf148 /.config/i3
parent234858e12734d0d200405ae292b1337a9920a798 (diff)
downloaddotfiles-58dfd563ea53dc1bf57018e9ff72fda6f1b9702a.tar.gz
dotfiles-58dfd563ea53dc1bf57018e9ff72fda6f1b9702a.tar.bz2
dotfiles-58dfd563ea53dc1bf57018e9ff72fda6f1b9702a.zip
Flashfocus parity
Diffstat (limited to '.config/i3')
-rw-r--r--.config/i3/config##desktop.Linux.Lowe2
-rw-r--r--.config/i3/config##desktop.Linux.Maus58
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)
40bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" 40bindcode $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
44bindsym Print exec flameshot gui 43bindsym 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
234for_window [class=".*"] border pixel 0 232for_window [class=".*"] border pixel 0
235for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable 233for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable
236for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable 234for_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)
30exec --no-startup-id ~/.fehbg 30exec --no-startup-id ~/.fehbg
31 31
32exec_always --no-startup-id flashfocus
33
32gaps inner 0 34gaps inner 0
33gaps outer 0 35gaps outer 0
34 36
35smart_gaps on 37# smart_gaps on
36 38
37# Font for window titles 39# Font for window titles
38font pango:Lato 11 40font 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}
192bindsym $mod+r mode "resize"
190 193
191# session 194# session
192mode " (L)ock (S)ignout (R)eboot (P)oweroff" { 195mode " (L)ock (S)ignout (R)eboot (P)oweroff" {
@@ -199,12 +202,59 @@ mode " (L)ock (S)ignout (R)eboot (P)oweroff" {
199bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" 202bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff"
200bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh 203bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh
201 204
202bindsym $mod+r mode "resize" 205set $mode_gaps Gaps: (o)uter, (i)nner
206#, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft
207set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
208set $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)
215bindsym $mod+Shift+g mode "$mode_gaps"
216
217mode "$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
230mode "$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
204for_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}
242mode "$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
255for_window [class=".*"] border pixel 0
205for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable 256for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable
206for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable 257for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable
207
208assign [class="^Steam$"] 9 258assign [class="^Steam$"] 9
209assign [class="^Thunderbird$"] 8 259assign [class="^Thunderbird$"] 8
210 260