rofi-network-manager: Rofi-network-manager not showing up in polybar
Hi, I have tried to follow the installation instructions but seem to be coming across an issue where the module does not appear in my polybar, probably is user error as I am new to rofi/polybar etc. but I have tried a few different things and don’t seem to be able to get it to show up
Dependencies installed:
nmcli rofi dunst
OS - Linux mint Window manager - Bspwm Shell - Zsh Terminal - Kitty
After adding the module to polybar and refreshing/restarting (tried powering off and turning back on too) the module does not show up in my polybar
I have tried running the script in my terminal too however nothing happens
I have run the following just in case I entered it wrong:
bash ./rofi-network-manager.sh
&
./rofi-network-manager.sh
Neither seem to do anything , though when I run echo $? it returns a “1” , so I’m wondering if I am unable to run the script? I have made it executable too.
I have used the default config files that you have provided, and I assume I need to amend the path in the module. I have tried with default config and with amended paths.
So I have tried it in the home directory and also in the rofi directory just in case
To test if rofi was working with the polybar I added their own network module and that showed up fine and was clickable etc.
If you need me to post my configs let me know
Edit - I submitted by accident before I had finished typing
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (4 by maintainers)
Just copy your rofi-network-manager.rasi inside of .config/rofi/ if you want to edit the rasi file make sure edit the downloaded one. it works and there is a bug inside of rofi-network-manager.sh with the double pip (or).
@jscodin did you reload polybar, also when you use the full path does the rofi-network-manager launch…
if it launches that means it working and your polybar config is not properly config
side note what version of polybar you are running there are different config as you see @P3rf using the format-connected and I am using label-connected…
The issue with double pip is corrected in 70f233f. @jscodin I agree with @m-talha-khan , try running it from terminal with full path to see if you writing correctly and just paste it in your polybar module .