Skip to content

tkapias/bemenu-desktop-menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bemenu-desktop-menu

A script for bemenu to run your desktop applications using dex.

preview

The preview uses my wrapper for bemenu: bemenu-orange-wrapper.

Dependencies

Optional

Installation

Dependencies

  1. Follow bemenu-orange-wrapper instructions.

  2. Next:

# GNU awk, sed, xargs, setsid, dex
sudo apt install gawk sed findutils util-linux dex

bemenu-desktop-menu

git clone --depth 1 https://github.com/tkapias/bemenu-desktop-menu.git bemenu-desktop-menu
cd bemenu-desktop-menu
chmod +x bemenu-desktop-menu.bash
  • The script uses the default locations to find the desktop entries:

    • "$HOME/.local/share/applications"
    • "/usr/local/share/applications"
    • "/usr/share/applications" If your system has different locations, add/modify them in the desktop_path array.
  • Optional: Symlink to a directory in your user's path:

ln -s $PWD/bemenu-desktop-menu.bash $HOME/.local/bin/bemenu-desktop-menu

Features

  • Entries sorted by Main Categories.
  • Main Categories icon using Emojis.
  • Display entry Name and Generic Name localized if available.
  • Display the entry file location in brackets.
  • Cache the list and generate only if the count or modification date of entries changed.
  • Respect Hidden & NoDisplay features.
  • Run the application forked using setsid.
  • Run the application using also dex to respect XDG.

Usage

Just launch bemenu-desktop-menu, optionally filter the entries and select one to launch the application.

Integrations

  • Binding exemple for bemenu-desktop-menu in i3wm:
bindsym $mod+d exec --no-startup-id "bemenu-desktop-menu"

About

A simple bemenu desktop entries launcher.

Topics

Resources

License

Stars

Watchers

Forks

Languages