summaryrefslogtreecommitdiffstats
path: root/.config/i3
diff options
context:
space:
mode:
Diffstat (limited to '.config/i3')
-rw-r--r--.config/i3/config##c.desktop,h.Maus42
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
15exec --no-startup-id xsettingsd & 15exec --no-startup-id xsettingsd &
16exec --no-startup-id picom -b & 16exec --no-startup-id picom -b
17exec --no-startup-id flashfocus & 17exec --no-startup-id flashfocus &
18exec --no-startup-id nextcloud & 18exec --no-startup-id nextcloud &
19exec --no-startup-id copyq & 19exec --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)
37exec --no-startup-id ~/.fehbg 37exec --no-startup-id ~/.fehbg
38 38
39
40# Font for window titles 39# Font for window titles
41font pango:Lato 11 40font 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
44floating_modifier $alt 43floating_modifier $alt
45 44
46gaps inner 0
47gaps 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
60bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c 56bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c
61 57
62# add taskwarrior/gtd calendar item
63bindsym $mod+Shift+t exec --no-startup-id ~/bin/td
64
65# add taskwarrior/gtd inbox item
66bindsym $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)
69bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,us,tr -variant ,colemak, -option grp:alt_shift_toggle,caps:backspace" 59bindcode $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
72bindsym Print exec flameshot gui 62bindsym Print exec flameshot gui
@@ -75,12 +65,12 @@ bindsym Print exec flameshot gui
75bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" 65bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)"
76bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" 66bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)"
77bindsym 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" 67bindsym 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"
78bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause 68bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause # for spotify
79bindsym XF86AudioPrev exec --no-startup-id playerctl previous 69bindsym XF86AudioPrev exec --no-startup-id playerctl previous
80bindsym XF86AudioNext exec --no-startup-id playerctl next 70bindsym XF86AudioNext exec --no-startup-id playerctl next
81bindsym XF86Tools exec --no-startup-id mpc toggle 71bindsym 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
98bindsym $mod+Shift+z exec zotero 88bindsym $mod+Shift+z exec zotero
99bindsym $mod+Shift+f exec thunar 89bindcode $mod+Shift+41 exec thunar # t on colemak f on turkish
100 90
101# start a terminal 91# start a terminal
102bindsym $mod+Return exec kitty 92bindsym $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
144bindsym $mod+space focus mode_toggle 134bindsym $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.
151set $ws1 "1" 138set $ws1 "1"
@@ -158,6 +145,9 @@ set $ws7 "7"
158set $ws8 "8" 145set $ws8 "8"
159set $ws9 "9" 146set $ws9 "9"
160set $ws10 "10" 147set $ws10 "10"
148set $wsmusic "♫"
149set $wszotero "ζ"
150set $wsdesktop "Ξ"
161 151
162# switch to workspace 152# switch to workspace
163bindsym $mod+1 workspace $ws1 153bindsym $mod+1 workspace $ws1
@@ -170,6 +160,9 @@ bindsym $mod+7 workspace $ws7
170bindsym $mod+8 workspace $ws8 160bindsym $mod+8 workspace $ws8
171bindsym $mod+9 workspace $ws9 161bindsym $mod+9 workspace $ws9
172bindsym $mod+0 workspace $ws10 162bindsym $mod+0 workspace $ws10
163bindsym $mod+m workspace $wsmusic
164bindcode $mod+49 workspace $wszotero
165bindcode $mod+60 workspace $wsdesktop
173 166
174# move focused container to workspace 167# move focused container to workspace
175bindsym $mod+Shift+1 move container to workspace $ws1 168bindsym $mod+Shift+1 move container to workspace $ws1
@@ -182,9 +175,11 @@ bindsym $mod+Shift+7 move container to workspace $ws7
182bindsym $mod+Shift+8 move container to workspace $ws8 175bindsym $mod+Shift+8 move container to workspace $ws8
183bindsym $mod+Shift+9 move container to workspace $ws9 176bindsym $mod+Shift+9 move container to workspace $ws9
184bindsym $mod+Shift+0 move container to workspace $ws10 177bindsym $mod+Shift+0 move container to workspace $ws10
178bindsym $mod+Shift+m move container to workspace $wsmusic
179bindcode $mod+Shift+49 move container to workspace $wszotero
180bindcode $mod+Shift+60 move container to workspace $wsdesktop
185 181
186bindsym $mod+z move container to output right 182bindsym $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
190bindsym $mod+Shift+c reload 185bindsym $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
276for_window [class=".*"] border pixel 5 271# for_window [class=".*"] border pixel 5
272default_border pixel 2
277for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable 273for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable
278for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable 274for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable
279assign [class="^Steam$"] 9 275assign [class="^Steam$"] 9
280assign [class="^Thunderbird$"] 8 276assign [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
285client.focused #458588 #285577 #ffffff #458588 #285577 279client.focused #458588 #285577 #ffffff #458588 #285577