summaryrefslogtreecommitdiffstats
path: root/.config/i3
diff options
context:
space:
mode:
Diffstat (limited to '.config/i3')
-rw-r--r--.config/i3/config##desktop.Linux.Lowe5
-rw-r--r--.config/i3/config##mobile.Linux.Luchs32
2 files changed, 17 insertions, 20 deletions
diff --git a/.config/i3/config##desktop.Linux.Lowe b/.config/i3/config##desktop.Linux.Lowe
index 98758cb..36343ed 100644
--- a/.config/i3/config##desktop.Linux.Lowe
+++ b/.config/i3/config##desktop.Linux.Lowe
@@ -39,9 +39,6 @@ bindsym Print exec flameshot gui
39bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" 39bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)"
40bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" 40bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)"
41bindsym 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" 41bindsym 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"
42#bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle"
43#bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +5%"
44#bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -5%"
45bindsym XF86AudioPlay exec mpc toggle 42bindsym XF86AudioPlay exec mpc toggle
46bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh 43bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh
47bindsym XF86AudioNext exec mpc next 44bindsym XF86AudioNext exec mpc next
@@ -158,7 +155,6 @@ mode "resize" {
158 155
159# session 156# session
160mode " (L)ock (S)ignout (R)eboot (P)oweroff" { 157mode " (L)ock (S)ignout (R)eboot (P)oweroff" {
161
162 bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back" 158 bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back"
163 bindsym $mod+r exec systemctl reboot 159 bindsym $mod+r exec systemctl reboot
164 bindsym $mod+p exec systemctl poweroff 160 bindsym $mod+p exec systemctl poweroff
@@ -171,7 +167,6 @@ bindsym $mod+r mode "resize"
171 167
172for_window [class=".*"] border pixel 4 168for_window [class=".*"] border pixel 4
173 169
174assign [class="^Steam$"] 9
175assign [class="^Thunderbird$"] 8 170assign [class="^Thunderbird$"] 8
176 171
177# class border backgr. text indicator child_border 172# class border backgr. text indicator child_border
diff --git a/.config/i3/config##mobile.Linux.Luchs b/.config/i3/config##mobile.Linux.Luchs
index fbd08a3..8929365 100644
--- a/.config/i3/config##mobile.Linux.Luchs
+++ b/.config/i3/config##mobile.Linux.Luchs
@@ -10,11 +10,14 @@ exec --no-startup-id xsettingsd &
10exec --no-startup-id compton -b & 10exec --no-startup-id compton -b &
11exec --no-startup-id dropbox & 11exec --no-startup-id dropbox &
12exec --no-startup-id copyq & 12exec --no-startup-id copyq &
13exec --no-startup-id hsetroot -center ~/Dropbox/Wallpapers/mandala.jpg &
14exec --no-startup-id xset -b 13exec --no-startup-id xset -b
15exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Natural Scrolling Enabled" 1 & 14exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Natural Scrolling Enabled" 1 &
16exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Tapping Enabled" 1 & 15exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Tapping Enabled" 1 &
17exec --no-startup-id nm-applet 16exec --no-startup-id nm-applet
17exec --no-startup-id ~/.fehbg
18
19# start the screensaver, '' at the end is not a typo
20exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -t "Welcome Back"' ''
18 21
19#launch polybar 22#launch polybar
20exec --no-startup-id $HOME/.config/polybar/launch.sh 23exec --no-startup-id $HOME/.config/polybar/launch.sh
@@ -48,19 +51,21 @@ bindsym Ctrl+q exec --no-startup-id true
48# bookmark from clipboard 51# bookmark from clipboard
49bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c 52bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c
50 53
51# swap caps lock and escape, set keyboard layout 54# add taskwarrior/gtd calendar item
52bindsym $mod+p exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" 55bindsym $mod+Shift+t --no-startup-id ~/bin/td
56
57# swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic)
58bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape"
53 59
54# use flameshot with print screen 60# use flameshot with print screen
55bindsym Print exec flameshot gui 61bindsym Print exec flameshot gui
56 62
57# media keys 63# media keys
58bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle" 64bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)"
59bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +5%" 65bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)"
60bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -5%" 66bindsym 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"
61bindsym XF86AudioPlay exec mpc toggle 67bindsym XF86AudioPlay exec mpc toggle
62bindsym XF86AudioStop exec mpc stop 68bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh
63bindsym XF86AudioPrev exec /home/yigit/bin/mpvPrev
64bindsym XF86AudioNext exec mpc next 69bindsym XF86AudioNext exec mpc next
65 70
66bindsym XF86MonBrightnessUp exec xbacklight -inc 5 71bindsym XF86MonBrightnessUp exec xbacklight -inc 5
@@ -75,9 +80,6 @@ bindsym $mod+Shift+q kill
75# start rofi (a program launcher) 80# start rofi (a program launcher)
76bindsym $mod+d exec rofi -show combi 81bindsym $mod+d exec rofi -show combi
77 82
78# lock screen
79exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -t "Welcome Back"' ''
80
81# change focus 83# change focus
82bindsym $mod+h focus left 84bindsym $mod+h focus left
83bindsym $mod+j focus down 85bindsym $mod+j focus down
@@ -170,19 +172,19 @@ mode "resize" {
170 172
171 # back to normal: Enter or Escape or $mod+r 173 # back to normal: Enter or Escape or $mod+r
172 bindsym Return mode "default" 174 bindsym Return mode "default"
173 bindsym Caps_Lock mode "default" 175 bindsym Escape mode "default"
174 bindsym $mod+r mode "default" 176 bindsym $mod+r mode "default"
175} 177}
176 178
177# session 179# session
178mode "(L)ock, (S)ignout, (R)eboot, (P)oweroff" { 180mode "(L)ock (S)ignout (R)eboot (P)oweroff" {
179 bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back" 181 bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back"
180 bindsym $mod+r exec systemctl reboot 182 bindsym $mod+r exec systemctl reboot
181 bindsym $mod+p exec systemctl poweroff 183 bindsym $mod+p exec systemctl poweroff
182 bindsym $mod+s exit 184 bindsym $mod+s exit
183 bindsym Escape mode "default" 185 bindcode 66 mode "default"
184} 186}
185bindsym $mod+Shift+e mode "(L)ock, (S)ignout, (R)eboot, (P)oweroff" 187bindsym $mod+Shift+e mode "(L)ock (S)ignout (R)eboot (P)oweroff"
186 188
187bindsym $mod+r mode "resize" 189bindsym $mod+r mode "resize"
188 190