Crates.io | rofi-menus |
lib.rs | rofi-menus |
version | 0.1.2 |
source | src |
created_at | 2023-10-22 15:46:46.018925 |
updated_at | 2023-10-23 18:01:45.635553 |
description | Simple CLI app that runs nested rofi dmenus based on json files. |
homepage | |
repository | https://github.com/swip3798/rofi-nested-menus |
max_upload_size | |
id | 1010639 |
size | 14,284 |
This simple CLI tool will show rofi dmenus, even nested ones based on simple JSON files.
Just create a json file like this:
{
"Power Menu": {
"shutdown": "shutdown now",
"reboot": "reboot now"
},
"Websites": {
"github": "firefox --new-tab github.com",
"crates.io": "firefox --new-tab crates.io"
}
}
Then call rofi-menus:
rofi-menus menu.json
# If you which to use a custom theme:
rofi-menus -t custom-theme.rasi menu.json
For Debian/Ubuntu distributions you can download the deb
package from the latest Release.
For other distributions, kindly compile it from source. For this, install rustup and cargo (see here). Afterwards simply execute:
cargo install rofi-menus