gmenu/README.md

69 lines
1.7 KiB
Markdown
Raw Permalink Normal View History

2019-06-26 16:00:25 +00:00
# gmenu
2021-04-15 02:36:54 +00:00
2019-06-26 16:00:25 +00:00
[![Donate](https://img.shields.io/liberapay/receives/rocketnine.space.svg?logo=liberapay)](https://liberapay.com/rocketnine.space)
Desktop application launcher
2019-11-15 22:49:40 +00:00
Note: Linux is currently the only supported OS.
## Screenshots
### Console
2019-11-09 15:39:28 +00:00
![](https://gmenu.rocketnine.space/static/gmenu_v022_1.png)
![](https://gmenu.rocketnine.space/static/gmenu_v022_2.png)
### GUI
2019-11-09 15:39:28 +00:00
![](https://gmenu.rocketnine.space/static/gtkmenu_v022_1.png)
![](https://gmenu.rocketnine.space/static/gtkmenu_v022_2.png)
## Download
2019-11-15 22:49:40 +00:00
[**Download gmenu and gtkmenu binaries**](https://gmenu.rocketnine.space/download/?sort=name&order=desc)
## Compile
2021-04-15 02:36:54 +00:00
The following commands download and build gmenu from source. The resulting binary is located at `~/go/bin/`.
2020-11-19 03:38:28 +00:00
2019-07-27 18:09:28 +00:00
### Console
2019-06-26 16:00:25 +00:00
2019-07-27 18:09:28 +00:00
```
2021-04-15 02:36:54 +00:00
go get code.rocketnine.space/tslocum/gmenu/cmd/gmenu
2019-07-27 18:09:28 +00:00
```
### GUI
2019-06-26 16:00:25 +00:00
2019-07-27 18:09:28 +00:00
```
2021-04-15 02:36:54 +00:00
go get code.rocketnine.space/tslocum/gmenu/cmd/gtkmenu
2019-07-27 18:09:28 +00:00
```
2019-07-12 04:15:25 +00:00
## Usage
2019-11-15 22:49:40 +00:00
Start typing the name of an application or shortcut and, when necessary, use the arrow keys to select the desired entry.
2019-07-27 18:09:28 +00:00
2019-11-15 22:49:40 +00:00
Press Enter to run normally, or press ALT+Enter to run in a terminal.
2019-07-27 18:09:28 +00:00
2019-11-15 22:49:40 +00:00
The input buffer may be executed as a shell command by selecting the last entry in the list.
2019-07-12 04:15:25 +00:00
2019-11-15 22:49:40 +00:00
## Support
2021-04-15 02:36:54 +00:00
Please share issues and suggestions [here](https://code.rocketnine.space/tslocum/gmenu/issues).
2019-07-27 18:09:28 +00:00
2019-11-15 22:49:40 +00:00
## Integration Example - [sway](https://swaywm.org)/[i3](https://i3wm.org) + [alacritty](https://github.com/jwilm/alacritty)
2019-07-12 04:15:25 +00:00
### Console
```
bindsym $mod+d exec --no-startup-id alacritty --class gmenu --title gmenu --working-directory ~ -e gmenu
2019-11-15 22:49:40 +00:00
for_window [app_id="gmenu"] floating enable; resize set 750 260
2019-07-12 04:15:25 +00:00
```
2019-07-27 18:09:28 +00:00
### GUI
```
2019-11-15 22:49:40 +00:00
bindsym $mod+d exec --no-startup-id gtkmenu --width 500 --height 260
2019-07-27 18:09:28 +00:00
```