Bar / Conky Configs. - Desktop Customization & Workflow
Users browsing this thread: 10 Guest(s)
|
|||
Bar* is a lightweight bar program, it is easily configurable with conky. I use it in all of my desktop setups, and it works great!
Here is my current Bar* setup (it is usually at a width of 1600 pixels, but I resized it for demonstration purposes, I have a bit of an OCD problem...): Now, to run this I just add this to my .xinitrc: Code: conky | bar -p & As you can see, the bar is just a place where conky can output information. Also, if you look on the left side of the bar, you can see a simple little rss output, look in the config below to see how that works. Here is my .conkyrc: Code: background no Here is my config.h config for the bar itself: Code: /* The height of the bar (in pixels) */ Those colors are my .Xdefaults colors. Now, you've seen my configuration, show me yours! *When I say Bar in this thread, I am referring to the LemonBoy / Bar that you can find here: [the github.](https://github.com/LemonBoy/bar)
meh
|
|||
|
|||
Nice and clean bar.
|
|||
|
|||
Nice! I might have to give this a try!
|
|||
|
|||
Here is My Bar, Hope you enjoy
*Still Perfecting my bar, will add icons when I get the chance. |
|||
|
|||
Right on guys, this is exactly the kind of stuff that we need more of. Thanks for sharing.
I don't use conky, and my dwm bar is nothing special. Sorry for not sharing. |
|||
|
|||
|
|||
|
|||
Well, it's not really a bar nor real conkyporn, but if people here use wmii, notion and even stumpwm modeline, you'll notice that you can't really use conky as is with their statusbar system.
For example, you can use conky cli output in wmii's bar, but only if you run conky with the -i flag (conky -i 1 for example), which kind of disable CPU and network statistics (else, wmii will hang on start, for example. Notion will just display nothing iirc, and stump will scream some lispy insults in your face). So I ended up using a simple solution: piping conky output in a textfile, then echoing this text file in wmii's/notion/stump statusbar/modeline: Code: #!/bin/bash while conky is running, it reads its standard output, then echoes it in a file. Simple, and, for example, in wmii's config, just echo -n $(cat /mnt/ramdisk/conkytext) as your status line feed. And, yay, working cpu and network statistics in your statusbar. It also works in tmux statusbar! :) I use a little ramdisk for this, as I'm not really fond of waking up my harddisks every second just to write some small textfile. Also, SSDs might not like this kind of constant overwriting of a file Hoping it'll be usefull to some people here, just wanted to share this little tip. |
|||
|
|||
I also pipe Conky into BAR, using some scripts to change icons based on levels.
https://github.com/windelicato/dotfiles/...spwm/panel panel is started with Code: panel & Code: launcher launcher_apps |
|||
|
|||
|
|||
|
|||
Here is my Conky + Bar in MCWM the bottom bar is xmobar with a tiny script to show xmms2 current , weather and simple freebsd uptime.
More screenshots on my Deviantart @http://ipodpunker.deviantart.com/ |
|||
|
|||
(12-02-2014, 03:03 AM)cyberpunkz Wrote: Here is my Conky + Bar in MCWM the bottom bar is xmobar with a tiny script to show xmms2 current , weather and simple freebsd uptime. This truly kicks ass! I love it. Very original. |
|||
|
|||
thanks , I put quite some time into it lulz.. i wish i can add workspace tags like u see on other tiling manager. MCWM is not tiling which is what i like about it.. but u still have 10 workspaces. be nice if i can use bar to have tabs for mcwm.. its no big deal as i have to remember everything i have for each workspace lulz.
be cool like take bspwm "workspace tags" and have it for mcwm :P Cheers |
|||
|
|||
You should look into 2bwm, you can have workspace tags with it.
|
|||
|
|||
i have look into 2bwm its just the border is different from mcwm and i wish to just have the mcwm back .
and thanks for letting me know, yBeastie. if you got some time to help me out with the workspace tagging or some examples , so i can just see and do my own thing. thanks for letting me know :) 2bwm is cool by the way. I think its u that fork mcwm , if im not mistaken. i'm using the mcwm-beast source which i think its by u with the patches . Cheers! |
|||
|
|||
Hey heres a 2bwm screenshot with pcmanfm, conky | bar , xmobar.
|
|||
|
|||
Here is 2 screenshots of 2bwm with conky pipe to bar, pcmanfm and tmux + weechat :)
Screenshot 1 |
|||
|
|||
Nice! Try to use the same font in your terminal and on your gtk theme and your top bar.
|
|||
|
|||
it is the same font to be honest, but i took your advice, and re-sized the font.
This is what i came up with, not sure if you consider this a "improvement". I think it looks better. :)
BSD (OS X & FreeBSD)
UNIX & VMS/VAX emulation simh: Ultrix 4.3BSD, WISC UNIX, OpenVMS 7.3, and SunOS Solaris. PekWM :: BMPanel2 |
|||
|
|||
Yes! this is good.
|
|||
|
|||
(19-01-2014, 06:03 AM)funriz Wrote: bar with some powerlineporn: Can you post configs? :)
Nothin left to do but smile, smile, smile (~);}
|
|||
|
|||
|
|||
I'm using bar for the first time and although I have it looking nice (though not finished, still need the desktops), I've clearly done something wrong. Every time it updates, it just creates a new instance on top of the old one, and this quickly fills up the resource limit on X (I didn't even know X had a resource limit). My script for the bar is here. What do I do to fix this issue?
|
|||
|
|||
Updates how, kirby? Like every time the clock changes?
|
|||
|
|||
Every second, it's a loop with 'sleep 1' at the end. You can see how this would really quickly fill up the limit.
|
|||
|
|||
kirby, pipe bar after 'done' also you can use while sleep 1; do
something something echo something | tr -d \\n #trim newline for actually viewing output done | bar -p #something else this is my current bar script: Code: #!/bin/bash and this is prev. one Code: #!/bin/bash Code: Slax 7.0.8 (32-bits + PAE) |
|||
|
|||
(15-07-2014, 05:12 PM)pvtmert Wrote: kirby, pipe bar after 'done' also you can use while sleep 1; do I'm not entirely sure I understand what's going on here, and can't get it to work myself. How do you get the bar to see what's being echo'd? If I end in Code: tr -s / I get 'Unexpected end of file'. You know you can use 'echo -n' to get rid of the newline right? |
|||
|
|||
backslash is important, i used to squeeze spaces into one...
you got it about echo -n you have to pipe to bar 'after' all output. you can think as while never prints eof so bar will stay open and being refreshed. all you have to do is while sleep $((SLEEP)); do echo -n "hello world" done | bar #args |
|||
|
|||
Here is my bar configuration:
The smaller squares are workspaces, and the larger on on the end is a tiling/monocle mode indicator. If in monocle mode, the bar turns into clickable title text for windows in the workspace: and a link to it's configuration!: link |
|||
|
|||
What is the difference between lemonbar and dzen2? What can I do with dzen2 that I cannot do with lemonbar (and vice-versa)?
|
|||
|
|||
> What can I do with dzen2 that I cannot do with lemonbar
dropdowns/the notion of a 'heading' on dropdowns. personally I think the lemonbar experience is "cleaner" wrt constructing sections with settings (I made a small helper for it). Speaking of necrobumps, I recently updated my own panel configuration -- I now use i3blocks to drive lemonbar, through jq. See the madness here. i3blocks generates _a lot_ of output, so I debounce it. I still use a theming system to generate my i3blocks config -- here's an example of what an i3blocks config might look like: https://0x0.st/i262.txt . The 'season' script is responsible for theme ideas around panel sections. |
|||