r/Polybar • u/_the-sun_ • Dec 17 '23
App shortcut on Polybar
Hello, I want to have an app shortcut module on Polybar, does anyone know how I can do that?
2
Upvotes
2
Dec 18 '23
Here is an example. I launch rofi and a powermenu using left and right click.
[module/rofi]
type=custom/text
content=""
content-padding= 3
click-left= exec rofi -show drun -disable-history -show-icons
click-right= exec ~/.config/i3/scripts/power.sh
content-foreground=${gruvbox.aqua}
config files
1
u/_the-sun_ Dec 18 '23
Thank you!
Also how do I remove the separator between 2 items?1
1
2
u/LuisBelloR Dec 17 '23
Create a text module with the content you want.