diff options
author | Yigit Sever | 2021-11-22 15:33:56 +0300 |
---|---|---|
committer | Yigit Sever | 2021-11-22 15:33:56 +0300 |
commit | 66afeaa349fc2146b0ef26b87f0894e8772db7af (patch) | |
tree | 9e479e15a85698d59008088a2136c4ce66f22d70 /.config | |
parent | feccedc230222679108362ff584a2860f784f334 (diff) | |
download | dotfiles-66afeaa349fc2146b0ef26b87f0894e8772db7af.tar.gz dotfiles-66afeaa349fc2146b0ef26b87f0894e8772db7af.tar.bz2 dotfiles-66afeaa349fc2146b0ef26b87f0894e8772db7af.zip |
i3-layouts
Diffstat (limited to '.config')
-rw-r--r-- | .config/i3/config##h.lowe | 25 | ||||
-rw-r--r-- | .config/polybar/config##h.lowe | 2 |
2 files changed, 22 insertions, 5 deletions
diff --git a/.config/i3/config##h.lowe b/.config/i3/config##h.lowe index b7bed0f..608797e 100644 --- a/.config/i3/config##h.lowe +++ b/.config/i3/config##h.lowe | |||
@@ -20,6 +20,7 @@ exec --no-startup-id udiskie --automount --file-manager thunar --tray --notify & | |||
20 | exec --no-startup-id /usr/lib/pam_kwallet_init | 20 | exec --no-startup-id /usr/lib/pam_kwallet_init |
21 | exec --no-startup-id remind -z -k'dunstify --appname="remind" --icon="view-calendar" "⏰ reminder!" "%s" &' ~/.reminders & | 21 | exec --no-startup-id remind -z -k'dunstify --appname="remind" --icon="view-calendar" "⏰ reminder!" "%s" &' ~/.reminders & |
22 | exec --no-startup-id $HOME/.config/polybar/launch.sh & | 22 | exec --no-startup-id $HOME/.config/polybar/launch.sh & |
23 | exec i3-layouts | ||
23 | 24 | ||
24 | # start the screensaver, '' at the end is not a typo | 25 | # start the screensaver, '' at the end is not a typo |
25 | exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' '' | 26 | exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' '' |
@@ -102,10 +103,10 @@ bindcode $mod+45 focus up | |||
102 | bindcode $mod+46 focus right | 103 | bindcode $mod+46 focus right |
103 | 104 | ||
104 | # move focused window on mod+shift+hnei | 105 | # move focused window on mod+shift+hnei |
105 | bindcode $mod+Shift+43 move left | 106 | bindcode $mod+Shift+43 exec i3l move left |
106 | bindcode $mod+Shift+44 move down | 107 | bindcode $mod+Shift+44 exec i3l move down |
107 | bindcode $mod+Shift+45 move up | 108 | bindcode $mod+Shift+45 exec i3l move up |
108 | bindcode $mod+Shift+46 move right | 109 | bindcode $mod+Shift+46 exec i3l move right |
109 | 110 | ||
110 | # split in horizontal orientation with mod+b | 111 | # split in horizontal orientation with mod+b |
111 | bindcode $mod+56 split h | 112 | bindcode $mod+56 split h |
@@ -211,3 +212,19 @@ workspace_auto_back_and_forth yes | |||
211 | focus_follows_mouse no | 212 | focus_follows_mouse no |
212 | mouse_warping none | 213 | mouse_warping none |
213 | focus_wrapping no | 214 | focus_wrapping no |
215 | |||
216 | set $layout_mode Layout: [v]stack [h]stack [s]piral [2]columns [3]columns [c]ompanion [a]utosplit [n]one | ||
217 | bindcode $mod+Shift+30 mode "$layout_mode" | ||
218 | mode "$layout_mode" { | ||
219 | bindcode 55 exec i3l vstack 0.6 | ||
220 | bindcode 43 exec i3l hstack 0.6 | ||
221 | bindcode 40 exec i3l spiral | ||
222 | bindcode 11 exec i3l 2columns | ||
223 | bindcode 12 exec i3l 3columns | ||
224 | bindcode 54 exec i3l companion | ||
225 | bindcode 38 exec i3l autosplit | ||
226 | bindcode 44 exec i3l none | ||
227 | |||
228 | bindsym Escape mode "default" | ||
229 | bindsym Return mode "default" | ||
230 | } | ||
diff --git a/.config/polybar/config##h.lowe b/.config/polybar/config##h.lowe index e316329..faba356 100644 --- a/.config/polybar/config##h.lowe +++ b/.config/polybar/config##h.lowe | |||
@@ -124,7 +124,7 @@ label-empty-padding = 5 | |||
124 | 124 | ||
125 | [module/i3] | 125 | [module/i3] |
126 | type = internal/i3 | 126 | type = internal/i3 |
127 | format = <label-state> | 127 | format = <label-state> <label-mode> |
128 | index-sort = true | 128 | index-sort = true |
129 | wrapping-scroll = false | 129 | wrapping-scroll = false |
130 | strip-wsnumbers = true | 130 | strip-wsnumbers = true |