diff options
Diffstat (limited to '.config/i3')
-rw-r--r-- | .config/i3/config##c.desktop,h.Maus | 42 |
1 files changed, 18 insertions, 24 deletions
diff --git a/.config/i3/config##c.desktop,h.Maus b/.config/i3/config##c.desktop,h.Maus index 8187f6d..a4d8b82 100644 --- a/.config/i3/config##c.desktop,h.Maus +++ b/.config/i3/config##c.desktop,h.Maus | |||
@@ -13,7 +13,7 @@ exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer no | |||
13 | 13 | ||
14 | #autostart | 14 | #autostart |
15 | exec --no-startup-id xsettingsd & | 15 | exec --no-startup-id xsettingsd & |
16 | exec --no-startup-id picom -b & | 16 | exec --no-startup-id picom -b |
17 | exec --no-startup-id flashfocus & | 17 | exec --no-startup-id flashfocus & |
18 | exec --no-startup-id nextcloud & | 18 | exec --no-startup-id nextcloud & |
19 | exec --no-startup-id copyq & | 19 | exec --no-startup-id copyq & |
@@ -36,16 +36,12 @@ exec --no-startup-id conky --daemonize -c ~/.config/conky/task.conf | |||
36 | # set the wallpaper last (hopefully after xrandr) | 36 | # set the wallpaper last (hopefully after xrandr) |
37 | exec --no-startup-id ~/.fehbg | 37 | exec --no-startup-id ~/.fehbg |
38 | 38 | ||
39 | |||
40 | # Font for window titles | 39 | # Font for window titles |
41 | font pango:Lato 11 | 40 | font pango:Lato 11 |
42 | 41 | ||
43 | # Use Mouse+$mod to drag floating windows to their wanted position | 42 | # Use Mouse+$mod to drag floating windows to their wanted position |
44 | floating_modifier $alt | 43 | floating_modifier $alt |
45 | 44 | ||
46 | gaps inner 0 | ||
47 | gaps outer 0 | ||
48 | |||
49 | ############## | 45 | ############## |
50 | # bindings # | 46 | # bindings # |
51 | ############## | 47 | ############## |
@@ -59,14 +55,8 @@ bindsym $mod+o exec --no-startup-id xdotool mousemove 1087 1101 | |||
59 | # bookmark from clipboard | 55 | # bookmark from clipboard |
60 | bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c | 56 | bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c |
61 | 57 | ||
62 | # add taskwarrior/gtd calendar item | ||
63 | bindsym $mod+Shift+t exec --no-startup-id ~/bin/td | ||
64 | |||
65 | # add taskwarrior/gtd inbox item | ||
66 | bindsym $mod+Shift+i exec --no-startup-id ~/bin/in | ||
67 | |||
68 | # swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic) | 58 | # swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic) |
69 | bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,us,tr -variant ,colemak, -option grp:alt_shift_toggle,caps:backspace" | 59 | bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,us,tr -variant ,colemak, -option grp:alt_shift_toggle,caps:backspace" # ] on colemak ü on turkish |
70 | 60 | ||
71 | # use flameshot with print screen | 61 | # use flameshot with print screen |
72 | bindsym Print exec flameshot gui | 62 | bindsym Print exec flameshot gui |
@@ -75,12 +65,12 @@ bindsym Print exec flameshot gui | |||
75 | bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" | 65 | bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" |
76 | bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" | 66 | bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" |
77 | bindsym XF86AudioMute exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" | 67 | bindsym XF86AudioMute exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" |
78 | bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause | 68 | bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause # for spotify |
79 | bindsym XF86AudioPrev exec --no-startup-id playerctl previous | 69 | bindsym XF86AudioPrev exec --no-startup-id playerctl previous |
80 | bindsym XF86AudioNext exec --no-startup-id playerctl next | 70 | bindsym XF86AudioNext exec --no-startup-id playerctl next |
81 | bindsym XF86Tools exec --no-startup-id mpc toggle | 71 | bindsym XF86Tools exec --no-startup-id mpc toggle # for mpd/ncmpcpp |
82 | 72 | ||
83 | # # media keys | 73 | # # media keys for "regular" keyboards |
84 | # bindsym $mod+Up exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" | 74 | # bindsym $mod+Up exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" |
85 | # bindsym $mod+Down exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" | 75 | # bindsym $mod+Down exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" |
86 | # bindsym $mod+m exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" | 76 | # bindsym $mod+m exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" |
@@ -96,7 +86,7 @@ bindsym $mod+minus scratchpad show | |||
96 | 86 | ||
97 | # shortcuts for frequent programs | 87 | # shortcuts for frequent programs |
98 | bindsym $mod+Shift+z exec zotero | 88 | bindsym $mod+Shift+z exec zotero |
99 | bindsym $mod+Shift+f exec thunar | 89 | bindcode $mod+Shift+41 exec thunar # t on colemak f on turkish |
100 | 90 | ||
101 | # start a terminal | 91 | # start a terminal |
102 | bindsym $mod+Return exec kitty | 92 | bindsym $mod+Return exec kitty |
@@ -143,9 +133,6 @@ bindsym $mod+a sticky toggle | |||
143 | # change focus between tiling / floating windows | 133 | # change focus between tiling / floating windows |
144 | bindsym $mod+space focus mode_toggle | 134 | bindsym $mod+space focus mode_toggle |
145 | 135 | ||
146 | # focus the parent container | ||
147 | # bindsym $mod+a focus parent | ||
148 | |||
149 | # Define names for default workspaces for which we configure key bindings later on. | 136 | # Define names for default workspaces for which we configure key bindings later on. |
150 | # We use variables to avoid repeating the names in multiple places. | 137 | # We use variables to avoid repeating the names in multiple places. |
151 | set $ws1 "1" | 138 | set $ws1 "1" |
@@ -158,6 +145,9 @@ set $ws7 "7" | |||
158 | set $ws8 "8" | 145 | set $ws8 "8" |
159 | set $ws9 "9" | 146 | set $ws9 "9" |
160 | set $ws10 "10" | 147 | set $ws10 "10" |
148 | set $wsmusic "♫" | ||
149 | set $wszotero "ζ" | ||
150 | set $wsdesktop "Ξ" | ||
161 | 151 | ||
162 | # switch to workspace | 152 | # switch to workspace |
163 | bindsym $mod+1 workspace $ws1 | 153 | bindsym $mod+1 workspace $ws1 |
@@ -170,6 +160,9 @@ bindsym $mod+7 workspace $ws7 | |||
170 | bindsym $mod+8 workspace $ws8 | 160 | bindsym $mod+8 workspace $ws8 |
171 | bindsym $mod+9 workspace $ws9 | 161 | bindsym $mod+9 workspace $ws9 |
172 | bindsym $mod+0 workspace $ws10 | 162 | bindsym $mod+0 workspace $ws10 |
163 | bindsym $mod+m workspace $wsmusic | ||
164 | bindcode $mod+49 workspace $wszotero | ||
165 | bindcode $mod+60 workspace $wsdesktop | ||
173 | 166 | ||
174 | # move focused container to workspace | 167 | # move focused container to workspace |
175 | bindsym $mod+Shift+1 move container to workspace $ws1 | 168 | bindsym $mod+Shift+1 move container to workspace $ws1 |
@@ -182,9 +175,11 @@ bindsym $mod+Shift+7 move container to workspace $ws7 | |||
182 | bindsym $mod+Shift+8 move container to workspace $ws8 | 175 | bindsym $mod+Shift+8 move container to workspace $ws8 |
183 | bindsym $mod+Shift+9 move container to workspace $ws9 | 176 | bindsym $mod+Shift+9 move container to workspace $ws9 |
184 | bindsym $mod+Shift+0 move container to workspace $ws10 | 177 | bindsym $mod+Shift+0 move container to workspace $ws10 |
178 | bindsym $mod+Shift+m move container to workspace $wsmusic | ||
179 | bindcode $mod+Shift+49 move container to workspace $wszotero | ||
180 | bindcode $mod+Shift+60 move container to workspace $wsdesktop | ||
185 | 181 | ||
186 | bindsym $mod+z move container to output right | 182 | bindsym $mod+z move container to output right |
187 | # bindsym $mod+Shift+less move container to output left | ||
188 | 183 | ||
189 | # reload the configuration file | 184 | # reload the configuration file |
190 | bindsym $mod+Shift+c reload | 185 | bindsym $mod+Shift+c reload |
@@ -273,13 +268,12 @@ mode "$mode_gaps_inner" { | |||
273 | bindsym Escape mode "default" | 268 | bindsym Escape mode "default" |
274 | } | 269 | } |
275 | 270 | ||
276 | for_window [class=".*"] border pixel 5 | 271 | # for_window [class=".*"] border pixel 5 |
272 | default_border pixel 2 | ||
277 | for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable | 273 | for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable |
278 | for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable | 274 | for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable |
279 | assign [class="^Steam$"] 9 | 275 | assign [class="^Steam$"] 9 |
280 | assign [class="^Thunderbird$"] 8 | 276 | assign [class="^Zotero$"] $wszotero |
281 | |||
282 | # exec --no-startup-id i3-msg 'exec /usr/bin/firefox;move container to output right' | ||
283 | 277 | ||
284 | # class border backgr. text indicator child_border | 278 | # class border backgr. text indicator child_border |
285 | client.focused #458588 #285577 #ffffff #458588 #285577 | 279 | client.focused #458588 #285577 #ffffff #458588 #285577 |