diff options
author | EuAndreh <eu@euandre.org> | 2023-02-20 11:24:31 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-02-20 11:24:31 -0300 |
commit | ea4d55453b9f408837a7a5f473c01832249e35ee (patch) | |
tree | 3ff6a9cb4e78910edd7c439029281fe095313dae /bin/wms | |
parent | bin/check: Add "Examples" section to the help string (diff) | |
download | dotfiles-ea4d55453b9f408837a7a5f473c01832249e35ee.tar.gz dotfiles-ea4d55453b9f408837a7a5f473c01832249e35ee.tar.xz |
bin/wms: Use player(1) over accessing the cache file
Diffstat (limited to 'bin/wms')
-rwxr-xr-x | bin/wms | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -106,7 +106,7 @@ case "$ACTION" in dunstctl close ;; mpris) - PLAYER="$(cat "$XDG_CACHE_HOME"/euandreh-mpris-player.txt)" + PLAYER="$(player current)" PLAYER_NAME="$(format_player_name "$PLAYER")" PLAYER_TITLE="$(format_player_title "$PLAYER")" printf '%s: %s\n' "$PLAYER_NAME" "$PLAYER_TITLE" |