Bare bones app launcher. I've made it as a replacement for dmenu on i3, but it can work in other desktop environments as well.
Build steps:
- Clone repo
- Run
cargo build --release - Create keybinding
bindsym $mod+m exec /path/to_project/target/release/menuvroom
Example config (place it in ~/.config/menuvroom). All values are optional.
{
"extra_directories": [
"/var/lib/flatpak/exports/bin",
"/usr/share/applications",
"/home/user/.local/share/applications"
],
"ignored_directories": [
"/usr/local/games"
],
// Will automatically create a file called `executables.txt`
"cache_dir": "~/.cache/menuvroom", // This is where it defaults if not provided
// If set to false will not include binaries that it finds
"include_binaries": true, // default true
// If set to false will not include desktop files that it finds
"include_desktop_files": true, // default true
"window_width": 1000,
"window_height": 600,
"window_pos_x": 30,
"window_pos_y": 100,
"font_size": 30,
"line_height": 42,
// Values must be between 0 and 255
"font_color": {
"r": 0, "g": 255, "b": 0
},
// Values must be between 0 and 255
"font_color_highlighted": {
"r": 255, "g": 255, "b": 255
},
// Values must be between 0 and 1
"bg_color": {
"r": 0.05, "g": 0.05, "b": 0.05, "a": 0.9
}
}