diff options
author | EuAndreh <eu@euandre.org> | 2024-01-12 08:56:10 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-01-12 08:56:10 -0300 |
commit | be4074dfcfd22988e7954a8072e3e87ad00fca4c (patch) | |
tree | b3245427c623baa14ffa3213067fd66a0a6795c8 /bin/player | |
parent | etc/sh/rc: Add idiff() utility function (diff) | |
download | dotfiles-be4074dfcfd22988e7954a8072e3e87ad00fca4c.tar.gz dotfiles-be4074dfcfd22988e7954a8072e3e87ad00fca4c.tar.xz |
bin/volume: Fix rotation beyond 2 sinks
Diffstat (limited to 'bin/player')
-rwxr-xr-x | bin/player | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -79,7 +79,7 @@ eval "$(assert-arg -- "$ACTION" 'ACTION')" CURRENT_PLAYER_PATH="$XDG_CACHE_HOME"/euandreh-mpris-player.txt -CURRENT_PLAYER="$(cat "$CURRENT_PLAYER_PATH" ||:)" +CURRENT_PLAYER="$(cat "$CURRENT_PLAYER_PATH" 2>/dev/null ||:)" AVAILABLE_PLAYERS="$(playerctl --list-all | LANG=POSIX.UTF-8 sort)" pick_first() { |