mirror of
https://github.com/artizirk/dotfiles.git
synced 2024-11-25 17:20:58 +02:00
13 lines
288 B
Bash
Executable File
13 lines
288 B
Bash
Executable File
#!/bin/bash
|
|
oIFS=$IFS
|
|
IFS=:
|
|
data_dirs=($XDG_DATA_DIRS)
|
|
IFS=$oIFS
|
|
data_dirs+=("~/.local/share")
|
|
(
|
|
for folder in ${data_dirs[*]}; do
|
|
find ${folder%/}/applications -name \*.desktop;
|
|
done
|
|
) | xargs basename -s .desktop -a | fzf | xargs -r swaymsg -t command exec gtk-launch
|
|
|