mirror of https://github.com/artizirk/dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
288 B
13 lines
288 B
6 years ago
|
#!/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
|
||
|
|