From a6108e4334da7a9e9ce0b5075b03ade3ca33dd14 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Tue, 28 Mar 2023 23:55:59 +0200 Subject: clean up on dmdsktp --- bin/guiscripts/dmdsktp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'bin') diff --git a/bin/guiscripts/dmdsktp b/bin/guiscripts/dmdsktp index 2e0ef24..d0905b7 100755 --- a/bin/guiscripts/dmdsktp +++ b/bin/guiscripts/dmdsktp @@ -1,12 +1,9 @@ #!/bin/bash # Searches through .desktop files and prompt to launch them via dmenu -gtk-launch \ - "$(\ - find ~/.local/share/applications \ +gtk-launch "$(find ~/.local/share/applications \ -maxdepth 1 \ -type f \ -not -iname "wine-extension*" -a -iname "*.desktop" \ - -printf "%f\n" \ - | cut -d. -f1 \ - | dmenu -i -p "app:" -g 1 \ - )" + -printf "%f\n" | + cut -d. -f1 | + dmenu -i -p "app:" -g 1)" -- cgit v1.2.3