Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Polybar: undefined bar
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
viio
n00b
n00b


Joined: 17 Mar 2020
Posts: 33

PostPosted: Mon Mar 23, 2020 7:33 pm    Post subject: [SOLVED]Polybar: undefined bar Reply with quote

Hi,

I'm trying to setup a basic bar with Polybar.

I've created a very basic config file just to check if it works:
Code:
# /home/user/.config/polybar/config

[bar/mybar]
modules-right = date

[module/date]
type = internal/date
date = %Y-%m-%d%


Then I tried to launch it with the "polybar mybar" command but I get the message "error: Undefined bar: mybar"
I also tried other config files from around the web. These don't work either.

I emerged Polybar with almost no USE flags because currently I'm not sure what I'll need.

Code:
emerge -avp x11-misc/polybar

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] x11-misc/polybar-3.4.2-r1::gentoo  USE="-alsa -curl -i3wm -ipc -mpd -network -pulseaudio" PYTHON_SINGLE_TARGET="python3_6 -python3_7 (-python3_8)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


Last edited by viio on Mon Mar 23, 2020 7:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
viio
n00b
n00b


Joined: 17 Mar 2020
Posts: 33

PostPosted: Mon Mar 23, 2020 7:51 pm    Post subject: Reply with quote

Well... I've edited the config file with SublimeText on a Windows 10 host machine via SSH TCP forwarding.

Important lesson learned: Don't modify Linux files with Windows...

I hope I didn't cause more problems like that. :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum