1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-24 20:01:49 +08:00

Compare commits

..

2 Commits

Author SHA1 Message Date
juan
69c17b42ad
update wob appearance 2022-05-09 11:46:43 +08:00
juan
8e5457c231
Update touchpad and mouse configs 2022-05-04 11:53:42 +08:00

View File

@ -50,7 +50,7 @@ client.background #3f464b #2a2f33
#bind fn keys #bind fn keys
bindsym XF86AudioMicMute exec amixer set Capture toggle bindsym XF86AudioMicMute exec amixer set Capture toggle
exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob -p 1 -b 2 -a top -M 48 --border-color '#474f54F0' --background-color '#2a2f33F0' --bar-color '#bfddb2F0' --overflow-mode wrap --overflow-background-color '#2a2f33F0' --overflow-bar-color '#d76e6ef0' --overflow-border-color '#474f54F0'
bindsym XF86AudioRaiseVolume exec amixer sset Master 2048+ | sed -En 's/.*\[([0-9]+)%\].*/\1/p' | head -1 > $SWAYSOCK.wob bindsym XF86AudioRaiseVolume exec amixer sset Master 2048+ | sed -En 's/.*\[([0-9]+)%\].*/\1/p' | head -1 > $SWAYSOCK.wob
bindsym XF86AudioLowerVolume exec amixer sset Master 2048- | sed -En 's/.*\[([0-9]+)%\].*/\1/p' | head -1 > $SWAYSOCK.wob bindsym XF86AudioLowerVolume exec amixer sset Master 2048- | sed -En 's/.*\[([0-9]+)%\].*/\1/p' | head -1 > $SWAYSOCK.wob
bindsym XF86AudioMute exec amixer sset Master toggle | sed -En '/\[on\]/ s/.*\[([0-9]+)%\].*/\1/ p; /\[off\]/ s/.*/0/p' | head -1 > $SWAYSOCK.wob bindsym XF86AudioMute exec amixer sset Master toggle | sed -En '/\[on\]/ s/.*\[([0-9]+)%\].*/\1/ p; /\[off\]/ s/.*/0/p' | head -1 > $SWAYSOCK.wob
@ -78,15 +78,17 @@ input 1:1:AT_Translated_Set_2_keyboard {
xkb_options "ctrl:swapcaps" xkb_options "ctrl:swapcaps"
} }
input type:pointer { input type:mouse {
pointer_accel -0.35 accel_profile flat
} }
input type:touchpad { input type:touchpad {
accel_profile adaptive accel_profile adaptive
pointer_accel -0.3 pointer_accel -0.3
natural_scroll enabled
tap enabled tap enabled
dwt disabled dwt disabled
events disabled_on_external_mouse
} }
###END### ###END###