From 2e50f64092859ccfb0eac6163acd6a4af16bcea8 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Thu, 9 Mar 2023 11:09:06 +0100 Subject: updated dmapimg to xdg base dir --- bin/guiscripts/dmapimg | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/guiscripts/dmapimg b/bin/guiscripts/dmapimg index 25c414b..3677ed3 100755 --- a/bin/guiscripts/dmapimg +++ b/bin/guiscripts/dmapimg @@ -1,6 +1,7 @@ -#!/bin/bash +#!/bin/sh +dest="$XDG_DATA_HOME"/appimages/ appimage="$(\ - find ~/.local/share/appimages -type f -printf "%f\n" \ + find "$dest" -type f -printf "%f\n" \ | sed 's/\.[Aa]pp[Ii]mage$//g' \ | dmenu -x -l 10 -g 1 -p "AppImage:")" -setsid ~/AppImages/"${appimage:-NOSEL}"* +setsid "${dest}/${appimage:-NOSEL}"* -- cgit v1.2.3