mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-18 18:07:12 +00:00
fix tests
This commit is contained in:
3
neofetch
3
neofetch
@@ -2358,7 +2358,7 @@ get_song() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case "${player/*\/}" in
|
case "${player/*\/}" in
|
||||||
"mpd"*|"mopidy"*) song="$(mpc -f '%artist%\n%album%\n%title%' current "${mpc_args[@]:?}")" ;;
|
"mpd"*|"mopidy"*) song="$(mpc -f '%artist%\n%album%\n%title%' current "${mpc_args[@]}")" ;;
|
||||||
"mocp"*) song="$(mocp -Q '%artist \n %album \n %song')" ;;
|
"mocp"*) song="$(mocp -Q '%artist \n %album \n %song')" ;;
|
||||||
"google play"*) song="$(gpmdp-remote current)" ;;
|
"google play"*) song="$(gpmdp-remote current)" ;;
|
||||||
"rhythmbox"*) song="$(rhythmbox-client --print-playing-format '%ta \n %at \n %tt')" ;;
|
"rhythmbox"*) song="$(rhythmbox-client --print-playing-format '%ta \n %at \n %tt')" ;;
|
||||||
@@ -4665,6 +4665,7 @@ get_args() {
|
|||||||
cpu_temp="C"
|
cpu_temp="C"
|
||||||
|
|
||||||
# Known implicit unused variables.
|
# Known implicit unused variables.
|
||||||
|
mpc_args=()
|
||||||
printf '%s\n' "$kernel $icons $font $battery $locale ${mpc_args[*]}"
|
printf '%s\n' "$kernel $icons $font $battery $locale ${mpc_args[*]}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user