diff options
author | boredpasta <boredpasta@tutanota.com> | 2023-07-17 16:41:41 +0300 |
---|---|---|
committer | boredpasta <boredpasta@tutanota.com> | 2023-07-17 16:41:41 +0300 |
commit | 7ce365d6f94fe1b8e9889c956b74e1100581af29 (patch) | |
tree | cf38f3ab975b6a7bf7c75b30987df161e4f76a0c /mpc-notify | |
parent | 5b28cf7d2b6511e175bfb9abb7580f5e89481bcb (diff) |
mpc-notify: disable SC1091 false-positive when user-dirs.dirs doesn't exist
Diffstat (limited to 'mpc-notify')
-rwxr-xr-x | mpc-notify | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -28,6 +28,9 @@ preview_height=64 default_song_icon="media-playback-start" # find xdg music directory + +# user-dirs.dirs is not guaranteed to exist +# shellcheck disable=SC1091 . "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs" 2>/dev/null || true xdg_music_dir="${XDG_MUSIC_DIR:-$HOME/Music}" |