summaryrefslogtreecommitdiff
path: root/bin/guiscripts
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-03-28 23:55:59 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-03-28 23:55:59 +0200
commita6108e4334da7a9e9ce0b5075b03ade3ca33dd14 (patch)
tree0a51900c1aa72c77a610784b61bb446776c9ec47 /bin/guiscripts
parent8a694f77e98da3db6f83c6fd9b0eb541b311f8d7 (diff)
clean up on dmdsktp
Diffstat (limited to 'bin/guiscripts')
-rwxr-xr-xbin/guiscripts/dmdsktp11
1 files changed, 4 insertions, 7 deletions
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)"