summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)"