From 91ec9ab4c3f6686021f7925b9ccd3c7c07da816d Mon Sep 17 00:00:00 2001 From: Kat Witten Date: Sun, 10 Nov 2019 12:45:48 -0800 Subject: find and prefer local desktop entries over system-wide desktop entries --- sway-launcher-desktop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway-launcher-desktop.sh') 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 -- cgit v1.2.3