View previous topic :: View next topic |
Author |
Message |
viio n00b
Joined: 17 Mar 2020 Posts: 33
|
Posted: Mon Mar 23, 2020 7:33 pm Post subject: [SOLVED]Polybar: undefined bar |
|
|
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 |
|
|
viio n00b
Joined: 17 Mar 2020 Posts: 33
|
Posted: Mon Mar 23, 2020 7:51 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
|