From 2146519a1fdc0a9949f54130248318e2c248389d Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 21 Mar 2019 17:43:40 +0300 Subject: Updates to mobile settings --- .config/i3/config##desktop.Linux.Lowe | 5 ----- .config/i3/config##mobile.Linux.Luchs | 32 +++++++++++++++++--------------- 2 files changed, 17 insertions(+), 20 deletions(-) (limited to '.config') 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 bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" 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" -#bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle" -#bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +5%" -#bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -5%" bindsym XF86AudioPlay exec mpc toggle bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh bindsym XF86AudioNext exec mpc next @@ -158,7 +155,6 @@ mode "resize" { # session mode "οŒ’ (L)ock (S)ignout (R)eboot (P)oweroff" { - bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back" bindsym $mod+r exec systemctl reboot bindsym $mod+p exec systemctl poweroff @@ -171,7 +167,6 @@ bindsym $mod+r mode "resize" for_window [class=".*"] border pixel 4 -assign [class="^Steam$"] 9 assign [class="^Thunderbird$"] 8 # 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 & exec --no-startup-id compton -b & exec --no-startup-id dropbox & exec --no-startup-id copyq & -exec --no-startup-id hsetroot -center ~/Dropbox/Wallpapers/mandala.jpg & exec --no-startup-id xset -b exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Natural Scrolling Enabled" 1 & exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Tapping Enabled" 1 & exec --no-startup-id nm-applet +exec --no-startup-id ~/.fehbg + +# start the screensaver, '' at the end is not a typo +exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -t "Welcome Back"' '' #launch polybar exec --no-startup-id $HOME/.config/polybar/launch.sh @@ -48,19 +51,21 @@ bindsym Ctrl+q exec --no-startup-id true # bookmark from clipboard bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c -# swap caps lock and escape, set keyboard layout -bindsym $mod+p exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" +# add taskwarrior/gtd calendar item +bindsym $mod+Shift+t --no-startup-id ~/bin/td + +# swap caps lock and escape, set keyboard layout, 35 is ]/ΓΌ (layout agnostic) +bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" # use flameshot with print screen bindsym Print exec flameshot gui # media keys -bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle" -bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +5%" -bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -5%" +bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" +bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" +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" bindsym XF86AudioPlay exec mpc toggle -bindsym XF86AudioStop exec mpc stop -bindsym XF86AudioPrev exec /home/yigit/bin/mpvPrev +bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh bindsym XF86AudioNext exec mpc next bindsym XF86MonBrightnessUp exec xbacklight -inc 5 @@ -75,9 +80,6 @@ bindsym $mod+Shift+q kill # start rofi (a program launcher) bindsym $mod+d exec rofi -show combi -# lock screen -exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -t "Welcome Back"' '' - # change focus bindsym $mod+h focus left bindsym $mod+j focus down @@ -170,19 +172,19 @@ mode "resize" { # back to normal: Enter or Escape or $mod+r bindsym Return mode "default" - bindsym Caps_Lock mode "default" + bindsym Escape mode "default" bindsym $mod+r mode "default" } # session -mode "(L)ock, (S)ignout, (R)eboot, (P)oweroff" { +mode "οŒ’ (L)ock (S)ignout (R)eboot (P)oweroff" { bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back" bindsym $mod+r exec systemctl reboot bindsym $mod+p exec systemctl poweroff bindsym $mod+s exit - bindsym Escape mode "default" + bindcode 66 mode "default" } -bindsym $mod+Shift+e mode "(L)ock, (S)ignout, (R)eboot, (P)oweroff" +bindsym $mod+Shift+e mode "οŒ’ (L)ock (S)ignout (R)eboot (P)oweroff" bindsym $mod+r mode "resize" -- cgit v1.2.3-70-g09d2