summaryrefslogtreecommitdiff
path: root/bin/guiscripts/dmdsktp
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-20 21:35:36 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-20 21:35:56 +0200
commit9a3ed8699358099ab1f9341f2a7e17691bb49733 (patch)
treea3a9c79253ea2fbe61788c3cb2dca96dafc4e1c5 /bin/guiscripts/dmdsktp
parent2758227472054a0976d8dc0888da9aff83031eec (diff)
moved dmdsktp to menuscripts
Diffstat (limited to 'bin/guiscripts/dmdsktp')
-rwxr-xr-xbin/guiscripts/dmdsktp21
1 files changed, 0 insertions, 21 deletions
diff --git a/bin/guiscripts/dmdsktp b/bin/guiscripts/dmdsktp
deleted file mode 100755
index a48aca6..0000000
--- a/bin/guiscripts/dmdsktp
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-# Searches through .desktop files and prompt to launch them via dmenu
-if [ "$MENUCMD" = "tofi" ]
-then
- menucmd="tofi"
-elif [ "$MENUCMD" = "dmenu" ]
-then
- menucmd="dmenu -g 1 -i"
-else
- menucmd="fzf"
-fi
-
-choice="$(find ~/.local/share/applications \
- -maxdepth 1 \
- -type f \
- -not -iname "wine-extension*" -a -iname "*.desktop" \
- -printf "%f\n" |
- cut -d. -f1 |
- $menucmd)"
-test -z "$choice" && exit 1
-gtk-launch "$choice"