aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/kdeconnect
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kdeconnect')
-rwxr-xr-xplugins/kdeconnect2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kdeconnect b/plugins/kdeconnect
index a209f55..9ee2e60 100755
--- a/plugins/kdeconnect
+++ b/plugins/kdeconnect
@@ -5,7 +5,7 @@
# Shell: POSIX compliant
# Author: juacq97
-SELECTION=~/.config/nnn/.selection
+SELECTION=${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection
id=$(kdeconnect-cli -a --id-only | awk '{print $1}')
if [ "$(find "$SELECTION")" ]; then