Deactivate vol key custom repeat for menus
This value seems too fast and cause problems: https://gitlab.com/postmarketOS/pmaports/-/issues/2282#note_1550179911 I'm in favor of droping this completly. I don't use this repeat behavior cause it is not precise enough anyway. Waiting a bit longer to browser large menus seems okay. I moved this to the multikey_retrocompat cause this script still expect those values. Signed-off-by: Willow Barraco <contact@willowbarraco.fr> Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:

committed by
Maarten van Gompel

parent
c95f3d9e7b
commit
0766872097
@@ -19,6 +19,13 @@ multikey_retrocompat() {
|
||||
swaymsg -- input "$pwr" repeat_delay 200
|
||||
swaymsg -- input "$pwr" repeat_rate 15
|
||||
|
||||
if ! [ "$vols" = "none" ]; then
|
||||
for vol in $vols; do
|
||||
swaymsg -- input "$vol" repeat_delay 200
|
||||
swaymsg -- input "$vol" repeat_rate 15
|
||||
done
|
||||
fi
|
||||
|
||||
swaymsg -- bindsym --locked --input-device="$pwr" XF86PowerOff exec sxmo_multikey.sh \
|
||||
powerbutton \
|
||||
powerbutton_one \
|
||||
@@ -64,8 +71,6 @@ swaymsg -- input "$pwr" xkb_file "$(xdg_data_path sxmo/xkb/xkb_mobile_normal_but
|
||||
|
||||
if ! [ "$vols" = "none" ]; then
|
||||
for vol in $vols; do
|
||||
swaymsg -- input "$vol" repeat_delay 200
|
||||
swaymsg -- input "$vol" repeat_rate 15
|
||||
swaymsg -- input "$vol" xkb_file "$(xdg_data_path sxmo/xkb/xkb_mobile_normal_buttons)"
|
||||
done
|
||||
fi
|
||||
|
Reference in New Issue
Block a user