mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-24 11:51:50 +08:00
Compare commits
2 Commits
0b31c273f6
...
69c17b42ad
Author | SHA1 | Date | |
---|---|---|---|
|
69c17b42ad | ||
|
8e5457c231 |
@ -50,7 +50,7 @@ client.background #3f464b #2a2f33
|
||||
#bind fn keys
|
||||
|
||||
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 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
|
||||
@ -78,15 +78,17 @@ input 1:1:AT_Translated_Set_2_keyboard {
|
||||
xkb_options "ctrl:swapcaps"
|
||||
}
|
||||
|
||||
input type:pointer {
|
||||
pointer_accel -0.35
|
||||
input type:mouse {
|
||||
accel_profile flat
|
||||
}
|
||||
|
||||
input type:touchpad {
|
||||
accel_profile adaptive
|
||||
pointer_accel -0.3
|
||||
natural_scroll enabled
|
||||
tap enabled
|
||||
dwt disabled
|
||||
events disabled_on_external_mouse
|
||||
}
|
||||
|
||||
###END###
|
||||
|
Loading…
Reference in New Issue
Block a user