Not really… I can see them like I posted my config few posts above.
But I tried instead of icon put number, but still it is not visible
Not really… I can see them like I posted my config few posts above.
But I tried instead of icon put number, but still it is not visible
I got it finally , just copy pasted i3 part from the original config.
But only thing missed, menu ? I dont have it, and I can not find it in polybar config
You’ll need to add a button for that…
I’ll be back when I’m on my laptop
[module/rofimenu]
type = custom/text
content = "M"
click-left = rofi -show drun
content-background = ${colors.blue}
content-foreground = ${colors.white}
content-padding = 1
margin-right = 0
Add this to end of your config file. Then add rofimenu
to your module list. You may want to change the colors to a different variable or put hex values there. Also, change M
with a different text or icon.
As for the command, it will pop up a basic menu with all the desktop entries. If you’d instead like a list with all commands, use rofi -show run
.
You may already have a rofi menu, which is accessed via your i3wm config.
grep rofi ~/.config/i3/config
should show the relevant line. You can use the rofi command from there and put in your polybar config.
Also, just in case you have trouble finding source to copy paste icons from, here are they
Font awesome : https://fontawesome.com/v5/cheatsheet
Material Font : https://zavoloklom.github.io/material-design-iconic-font/cheatsheet.html
Other icon fonts that aren’t in your polybar config just in case you need 'em and haven’t committed to a web search
Need Fonts : https://www.nerdfonts.com/cheat-sheet
Feather icons : https://feathericons.com/
iirc, Nerd Fonts includes multiple other icons sets. I just use Nerd Font and it has nearly every icon I need.
I added this to my polybar config, reloaded session but nothing happened.
maybe this, because I dont know where to add it ? xD
modules-left = i3
modules-center = date
modules-right = pulseaudio battery cpu memory temperature
that module list… add left,right or centre ( one you want )
Ah yes, I am blind…sorry, still learning Now it is working, but need to edit it… It is ugly and totally different menu than Endeavour default one.
For rofi I have this , I mean I want to use it like this :
bindsym $mod+d exec rofi -modi drun -show drun \
-config ~/.config/rofi/rofidmenu.rasi
What I need to add in polybar ?
[module/rofimenu]
type = custom/text
content = "M"
click-left = rofi -show drun -show-icons -drun-icon-theme "Arc-X-D"
content-background = ${colors.blue}
content-foreground = ${colors.white}
content-padding = 1
margin-right = 0
like this ?
EDit… no see point . MOD+D faster