diff options
| author | Kat Witten <turtlewit@gmail.com> | 2019-11-10 12:45:48 -0800 |
|---|---|---|
| committer | Kat Witten <turtlewit@gmail.com> | 2019-11-10 12:45:48 -0800 |
| commit | 91ec9ab4c3f6686021f7925b9ccd3c7c07da816d (patch) | |
| tree | 668a5744e48dd07782e9d62da821aa7e9d9d7f34 /sway-launcher-desktop.sh | |
| parent | fba124745c97e95637f577d0a66a2c0e71352248 (diff) | |
| download | sway-launcher-desktop-91ec9ab4c3f6686021f7925b9ccd3c7c07da816d.tar.gz sway-launcher-desktop-91ec9ab4c3f6686021f7925b9ccd3c7c07da816d.zip | |
find and prefer local desktop entries over system-wide desktop entries
Diffstat (limited to 'sway-launcher-desktop.sh')
| -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..783f144 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_CONFIG_HOME-${HOME}/.config}:${XDG_DATA_HOME-${HOME}/.local/share}:${XDG_DATA_DIRS-/usr/local/share:/usr/share}" function describe() { if [[ $2 == 'command' ]]; then |
