Add useless context menus

This commit is contained in:
Alexis Jhon Gaspar 2023-09-29 23:36:16 +08:00
parent ede5c41582
commit 1b342f0c30
2 changed files with 5 additions and 1 deletions

View file

@ -30,7 +30,7 @@ The weather widget is pretty barebones as of now. Report bugs if found.
### Configuration notes
The bare essentials of my dotfiles are located in the `config` directory. This includes `spmenu`, `picom` and `ncmpcppp`.
The bare essentials of my dotfiles are located in the `config` directory. This includes `spmenu`, `picom`, `ncmpcppp`, and `wal`.
### Compatibility notes
@ -95,6 +95,7 @@ Linux/Unix users:
- libmpdclient(-devel or -dev) for mpdclient
- yajl for ipc
- eww (optional)
- jgmenu
Termux users:
- xorg

View file

@ -1374,8 +1374,11 @@ static const Button buttons[] = {
#if BAR_STATUSBUTTON_PATCH
{ ClkButton, 0, Button1, spawn, SHCMD("spmenu_run -d -a '-g 4 -l 10'") /* use spmenu instead of dmenu */ },
{ ClkButton2, 0, Button1, spawn, {.v = termcmd } },
{ ClkButton2, 0, Button3, spawn, SHCMD("printf ' New tabbed session, tabbed -r 2 st -w \"\"\n New dvtm session, st -T dvtm abduco -c dvtm dvtm-status\n' | jgmenu --simple --at-pointer") },
{ ClkButton3, 0, Button1, spawn, SHCMD("firefox") },
{ ClkButton3, 0, Button3, spawn, SHCMD("printf ' New Window, firefox\n󱀣 New Private Window, firefox -private-window\n' | jgmenu --simple --at-pointer") },
{ ClkButton4, 0, Button1, spawn, SHCMD("st -T ncmpcpp ncmpcpp") },
{ ClkButton4, 0, Button3, spawn, SHCMD("printf '󰒮 Previous Song, mpc prev\n󰐊 Play, mpc play\n󰏤 Pause, mpc pause\n󰓛 Stop, mpc stop\n󰒭 Next Song, mpc next\nVol +5%%,󰕾 mpc vol +5\n󰖀 Vol -5%%, mpc vol -5\n' | jgmenu --simple --at-pointer") },
{ ClkButton5, 0, Button1, spawn, SHCMD("shutdown") },
#endif // BAR_STATUSBUTTON_PATCH
{ ClkLtSymbol, 0, Button1, setlayout, {0} },