You are not logged in.
Hurray, that was it
Shame on me, I just didn't move again the bar binary, once compiled, to my $path... Well, I don't really get why it worked with startx and not SLiM since it shouldn't have worked at all but, he, now it's fine
Offline
Is this bug or something else ?
Offline
Definitely not a feature, please post your config.h to help troubleshooting
Definetly, i back to terminus font from gohu and be all right.
Offline
I am trying to use Ohsnap font (https://bbs.archlinux.org/viewtopic.php?id=130562) icons, but all I get is an empty square. Standard characters (letters, numbers, symbols) seem to be working, but as soon as I enter the icon zone .. it fails.
Is there anything I am missing?
So far I have tried the following:
echo -e "\uA0" | bar -p
echo -e "\xA0" | bar -p
Note: icons do work in urxvt. Both (urxvt and bar) have been set to use the same font.
Update: tried tamsynmod (https://aur.archlinux.org/packages.php?ID=53507) as well and nothing changed.
Last edited by Ψ ™ (2014-01-26 15:54:18)
Offline
Thank you! It works now.
Offline
is anyone using bar with dwm-like titles? I'm looking for a working skeleton to switch from dzen2 in my monsterwm
Offline
I've got a python status bar that I coded to use with monsterwm and bar. It will show monsterwm's desktop status and could easily be extended to include window titles from c00kie's window titles branch. I'll post it for you when I get back to my computer. I haven't put it out on github yet.... it was more a learning project and scratching my own itch :-)
Scott
Edit: Here is the Github link. I forgot I actually had posted it to Github...just haven't worked on it in awhile I'm not sure if that's something like what you were looking for or not. In any case, if anyone else cares to test it out, I'd love some feedback.
Last edited by firecat53 (2014-01-27 04:55:35)
Offline
It seems very interesting firecat53, thanks! On the down-side, it's not working.. probably something on my end.
Traceback (most recent call last):
File "/usr/bin/multistatus", line 82, in <module>
Statusbar().run()
File "/usr/bin/multistatus", line 78, in run
self._write_output()
File "/usr/bin/multistatus", line 70, in _write_output
self.bar.stdin.write(out.encode())
BrokenPipeError: [Errno 32] Broken pipe
Offline
Ugh, well, why don't you post the config file and how you are starting monsterwm and multistatus in a new thread (so we don't clutter this one) and we'll figure it out. Make sure you have the 'monsterwm.fifo' established in /tmp. Try disabling all the plugins except the date in the config file and re-enabling them one at a time until it breaks. As far as I know, you're the first guinea pig to try it out Unfortunately I didn't build in a whole lot of error checking yet...
Thanks,
Scott
Offline
sure
in the meantime I've wasted some time around some scripts. bar shows up where it should, but totally empty... my bash is still at the "copy&paste" level, so I don't know what can be wrong. some tips?
http://hastebin.com/lavekunuti.pl
Offline
First you need to check that bar is working:
echo "\cHI" | bar -pf
If it is, you should probably continue this in the monsterwm thread If not, post your bar config.h. I'm assuming you've acquired your script from here?
Scott
Last edited by firecat53 (2014-01-27 21:23:10)
Offline
that just prints a nice monolithic bar in my screen, no text whatsoever
http://hastebin.com/nafuvefamo.vala -> config.h
where should I open a thread about your panel? wouldn't it better if you made a "community contribution" and then disscuss it there?
Last edited by el mariachi (2014-01-27 22:23:52)
Offline
It needs the following patch:
diff --git a/bar.c b/bar.c
index 690881c..1ba38de 100644
--- a/bar.c
+++ b/bar.c
@@ -431,7 +431,12 @@ init (void)
screens[i].window = create_window(root, screens[i].x, y, screens[i].width, BAR_HEIGHT, scr->root_visual);
}
- left_offset -= screens[i].width;
+ if (left_offset > 0) {
+ left_offset -= screens[i].width;
+ if (left_offset < 0)
+ left_offset = 0;
+ }
+ xcb_xinerama_screen_info_next (&xinerama_iter);
}
free(xinerama_reply);
Also, the screen order is reversed from what it was before. This isn't really an issue because, as far as I can tell, the screen ordering is consistent but arbitrary.
Offline
I bet you're not ready to handle all the awesomeness that the 'wip' branch brings to bar!
Before this goes into master and the release 1.0 is tagged I want to hear from you guys if the new syntax is awesome enough for your needs, if the documentation is enough, if the RandR/Xinerama support is amusing as expected and such
Offline
Hey, thanks for the updates I have a dual monitor setup (1280x1024 & 1920x1080) and I have a problem with offset and/or bar width settings. I tried both wip and xinerama-fix branches with vanilla configurations but I changed following settings:
/* The width of the bar. Set to -1 to fit screen */
#define BAR_WIDTH 1920
/* Offset from the left. Set to 0 to have no effect */
#define BAR_OFFSET 1280
I also tried to use BAR_WIDTH -1 but there was no difference, am I missing something?
Also here's a picture in action:
Last edited by Shinryuu (2014-02-21 06:36:13)
Offline
I just got rid of the 'xinerama-fix' branch, the 'wip' branch is the future
The wip branch got rid of the config.h thing, now everything is dynamic!
The configurable X offset is coming back
Offline
^ will the wip also bring in clickable areas ?
Last edited by easysid (2014-02-22 17:58:54)
Desktop screenshots :: Origami :: github
Offline
Hey, I noticed that if you use "-g 1920x14+1280" you can't see centered and right padded things at all. Works fine if I just spawn bar in my left monitor with "-g 1280x14"
Here are the explanation shots:
1280x14: http://a.pomf.se/ipeglw.png
1920x14+1280: http://a.pomf.se/hzitcn.png
Offline
@easysid I'll start working on that once Shinryuu is satisfied heh. It's just a matter of merging some code "u-ra" sent
Anyway, the old boring bar alpha is gone, if you use a compositor manager you can freely use colors in ARGB format!
The result is more or less http://a.pomf.se/tjosxe.png
Offline
Anyway, the old boring bar alpha is gone, if you use a compositor manager you can freely use colors in ARGB format!
The result is more or less http://a.pomf.se/tjosxe.png
Awesome, thanks!
On a kind of related note: You don't intend to add Pango support, do you?
Last edited by Runiq (2014-02-24 10:55:51)
Offline