Simple rofi shell script that lists favorites desktop apps.
Script extract favorites from gsettings get org.gnome.shell favorite-apps
and read desktop files from /usr/share/applications/
.
-
Copy
rofi-favorites.sh
from this repo (or git clone and link) to your rofi's configuration folder (i.e.~/.config/rofi
). -
Launch
rofi
with-modi Favorites:<PATH_OF_SCRIPT>/rofi-favorites.sh
:
rofi -modi "My Favorite Apps":"~/.config/rofi/rofi-favorites.sh" -show "My Favorite Apps"