diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-02-15 16:31:56 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-02-15 16:47:43 +0100 |
commit | 3b2a78935fd6550521f719a10e5b0fceb1ddb350 (patch) | |
tree | 7c50801d6bb5b7abba3df6352ed43df454a4dbcb /bin/dmscripts/dmdsktp |
Not really but, First commit!
Diffstat (limited to 'bin/dmscripts/dmdsktp')
-rwxr-xr-x | bin/dmscripts/dmdsktp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/dmscripts/dmdsktp b/bin/dmscripts/dmdsktp new file mode 100755 index 0000000..2e0ef24 --- /dev/null +++ b/bin/dmscripts/dmdsktp @@ -0,0 +1,12 @@ +#!/bin/bash +# Searches through .desktop files and prompt to launch them via dmenu +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 \ + )" |