diff options
| author | Moritz Meißelbach <arbelzapf@gmail.com> | 2019-11-10 22:29:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-10 22:29:57 +0100 |
| commit | 474f6fd1c27a38e96aff2134c08d226810cdbc36 (patch) | |
| tree | 793154f54ca5c14bed86dadc9359c745cad13de7 | |
| parent | fba124745c97e95637f577d0a66a2c0e71352248 (diff) | |
| parent | a92c4c78645c8bcf1d0e1c0f0db4a19208fef23b (diff) | |
| download | sway-launcher-desktop-474f6fd1c27a38e96aff2134c08d226810cdbc36.tar.gz sway-launcher-desktop-474f6fd1c27a38e96aff2134c08d226810cdbc36.zip | |
Merge pull request #5 from turtlewit/master
find and prefer local desktop entries over system-wide desktop entries
| -rwxr-xr-x | sway-launcher-desktop.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway-launcher-desktop.sh b/sway-launcher-desktop.sh index a046062..d29f9ce 100755 --- a/sway-launcher-desktop.sh +++ b/sway-launcher-desktop.sh @@ -18,7 +18,7 @@ HIST_FILE="${XDG_CACHE_HOME:-$HOME/.cache}/${0##*/}-history.txt" # Get locations of desktop application folders according to spec # https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html -IFS=':' read -ra DIRS <<< "${XDG_CONFIG_HOME-${HOME}/.config}:${XDG_DATA_DIRS-/usr/local/share:/usr/share}" +IFS=':' read -ra DIRS <<< "${XDG_DATA_HOME-${HOME}/.local/share}:${XDG_DATA_DIRS-/usr/local/share:/usr/share}" function describe() { if [[ $2 == 'command' ]]; then |
