diff options
Diffstat (limited to '.config/i3/config##mobile.Linux.Luchs')
-rw-r--r-- | .config/i3/config##mobile.Linux.Luchs | 32 |
1 files changed, 17 insertions, 15 deletions
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 & | |||
10 | exec --no-startup-id compton -b & | 10 | exec --no-startup-id compton -b & |
11 | exec --no-startup-id dropbox & | 11 | exec --no-startup-id dropbox & |
12 | exec --no-startup-id copyq & | 12 | exec --no-startup-id copyq & |
13 | exec --no-startup-id hsetroot -center ~/Dropbox/Wallpapers/mandala.jpg & | ||
14 | exec --no-startup-id xset -b | 13 | exec --no-startup-id xset -b |
15 | exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Natural Scrolling Enabled" 1 & | 14 | exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Natural Scrolling Enabled" 1 & |
16 | exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Tapping Enabled" 1 & | 15 | exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Tapping Enabled" 1 & |
17 | exec --no-startup-id nm-applet | 16 | exec --no-startup-id nm-applet |
17 | exec --no-startup-id ~/.fehbg | ||
18 | |||
19 | # start the screensaver, '' at the end is not a typo | ||
20 | exec --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 |
20 | exec --no-startup-id $HOME/.config/polybar/launch.sh | 23 | exec --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 |
49 | bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c | 52 | bindsym $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 |
52 | bindsym $mod+p exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" | 55 | bindsym $mod+Shift+t --no-startup-id ~/bin/td |
56 | |||
57 | # swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic) | ||
58 | bindcode $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 |
55 | bindsym Print exec flameshot gui | 61 | bindsym Print exec flameshot gui |
56 | 62 | ||
57 | # media keys | 63 | # media keys |
58 | bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle" | 64 | bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" |
59 | bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +5%" | 65 | bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" |
60 | bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -5%" | 66 | 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" |
61 | bindsym XF86AudioPlay exec mpc toggle | 67 | bindsym XF86AudioPlay exec mpc toggle |
62 | bindsym XF86AudioStop exec mpc stop | 68 | bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh |
63 | bindsym XF86AudioPrev exec /home/yigit/bin/mpvPrev | ||
64 | bindsym XF86AudioNext exec mpc next | 69 | bindsym XF86AudioNext exec mpc next |
65 | 70 | ||
66 | bindsym XF86MonBrightnessUp exec xbacklight -inc 5 | 71 | bindsym 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) |
76 | bindsym $mod+d exec rofi -show combi | 81 | bindsym $mod+d exec rofi -show combi |
77 | 82 | ||
78 | # lock screen | ||
79 | exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -t "Welcome Back"' '' | ||
80 | |||
81 | # change focus | 83 | # change focus |
82 | bindsym $mod+h focus left | 84 | bindsym $mod+h focus left |
83 | bindsym $mod+j focus down | 85 | bindsym $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 |
178 | mode "(L)ock, (S)ignout, (R)eboot, (P)oweroff" { | 180 | mode " (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 | } |
185 | bindsym $mod+Shift+e mode "(L)ock, (S)ignout, (R)eboot, (P)oweroff" | 187 | bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" |
186 | 188 | ||
187 | bindsym $mod+r mode "resize" | 189 | bindsym $mod+r mode "resize" |
188 | 190 | ||