spotify-player: disable scroll volume, it round-trips the web api
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
8b348d8c47
commit
4c337a63de
1 changed files with 7 additions and 3 deletions
|
|
@ -125,9 +125,13 @@ in
|
||||||
# Public PKCE client, no secret involved, so it's fine in the repo.
|
# Public PKCE client, no secret involved, so it's fine in the repo.
|
||||||
# Redirect URI registered: http://127.0.0.1:8989/login
|
# Redirect URI registered: http://127.0.0.1:8989/login
|
||||||
client_id = "265506bc7bbd4032bf0fee708b321d3e";
|
client_id = "265506bc7bbd4032bf0fee708b321d3e";
|
||||||
# Each notch fires a volume write plus a burst of confirmation polls, so
|
# Scroll-to-set-volume is a rate-limit trap: playback runs through a local
|
||||||
# halve the notches needed to cross the range.
|
# librespot softmixer, but the mixer is only set once at session start, so
|
||||||
volume_scroll_step = 10;
|
# every later change is a Web API PUT /me/player/volume round-trip (plus
|
||||||
|
# confirmation reads) to adjust a mixer inside our own process. One flick
|
||||||
|
# of the wheel is a dozen requests and a 429. Use PipeWire for volume
|
||||||
|
# instead — same sink, instant, free.
|
||||||
|
enable_mouse_scroll_volume = false;
|
||||||
};
|
};
|
||||||
# The home-manager module only writes keymap.toml when `keymaps` is
|
# The home-manager module only writes keymap.toml when `keymaps` is
|
||||||
# non-empty, so `actions` alone would silently emit nothing. Restating a
|
# non-empty, so `actions` alone would silently emit nothing. Restating a
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue