diff options
author | Yigit Sever | 2019-03-21 17:43:40 +0300 |
---|---|---|
committer | Yigit Sever | 2019-03-21 17:43:40 +0300 |
commit | 2146519a1fdc0a9949f54130248318e2c248389d (patch) | |
tree | b838278a67f69f903b3ab09e9884507d04cdc354 /.config | |
parent | 840fc2fdafb9ddfae52379f2f89b632496661386 (diff) | |
download | dotfiles-2146519a1fdc0a9949f54130248318e2c248389d.tar.gz dotfiles-2146519a1fdc0a9949f54130248318e2c248389d.tar.bz2 dotfiles-2146519a1fdc0a9949f54130248318e2c248389d.zip |
Updates to mobile settings
Diffstat (limited to '.config')
-rw-r--r-- | .config/i3/config##desktop.Linux.Lowe | 5 | ||||
-rw-r--r-- | .config/i3/config##mobile.Linux.Luchs | 32 |
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 | |||
39 | bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" | 39 | bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" |
40 | bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" | 40 | bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" |
41 | 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" | 41 | 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" |
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%" | ||
45 | bindsym XF86AudioPlay exec mpc toggle | 42 | bindsym XF86AudioPlay exec mpc toggle |
46 | bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh | 43 | bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh |
47 | bindsym XF86AudioNext exec mpc next | 44 | bindsym XF86AudioNext exec mpc next |
@@ -158,7 +155,6 @@ mode "resize" { | |||
158 | 155 | ||
159 | # session | 156 | # session |
160 | mode " (L)ock (S)ignout (R)eboot (P)oweroff" { | 157 | mode " (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 | ||
172 | for_window [class=".*"] border pixel 4 | 168 | for_window [class=".*"] border pixel 4 |
173 | 169 | ||
174 | assign [class="^Steam$"] 9 | ||
175 | assign [class="^Thunderbird$"] 8 | 170 | assign [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 & | |||
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 | ||