nixers
Bar / Conky Configs. - Printable Version
+- nixers (https://nixers.net)
+-- Forum: Desktop Customization, Efficiency, and Aesthetics (https://nixers.net/forumdisplay.php?fid=45)
+--- Forum: Desktop Customization & Workflow (https://nixers.net/forumdisplay.php?fid=15)
+--- Thread: Bar / Conky Configs. (/showthread.php?tid=117)
Pages: 1 2 3 4


Bar / Conky Configs. - jmbi - 07-08-2012

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...):
[Image: jjFQv.png]

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
out_to_console yes
out_to_x no
update_interval 1.0
total_run_times 0
use_spacer none

TEXT
\f3${mem} \f4of\f3 ${memmax} \c\f7${time %H:%M:%S}\r \f5UnixHub: \f4${rss http://forums.unixhub.net/syndication.php 1 item_titles 1}

Here is my config.h config for the bar itself:
Code:
/* The height of the bar (in pixels) */
#define BAR_HEIGHT  18
/* Choose between an underline or an overline */
#define BAR_UNDERLINE 1
/* The thickness of the underline (in pixels). Set to 0 to disable. */
#define BAR_UNDERLINE_HEIGHT 1
/* Whether to put the bar at the screen bottom or not */
#define BAR_BOTTOM 1
/* The fonts used for the bar, comma separated. Only the first 2 will be used. */
#define BAR_FONT       "-*-terminus-medium-r-normal-*-12-*-*-*-c-*-*-1","fixed"
/* Color palette */
#define COLOR0    0x292929
#define COLOR1  0xBADA55
#define COLOR2    0x101010
#define COLOR3    0xcc6666
#define COLOR4    0xFB7D24
#define COLOR5    0xb3930f
#define COLOR6    0x286f8a
#define COLOR7    0x746d76
#define COLOR8    0x42ab9e
#define COLOR9    0xc0c0c0

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)


RE: Bar / Conky Configs. - yrmt - 08-08-2012

Nice and clean bar.


RE: Bar / Conky Configs. - Jayro - 08-08-2012

Nice! I might have to give this a try!


RE: Bar / Conky Configs. - DotDev - 17-08-2013

Here is My Bar, Hope you enjoy

[Image: L7pczzz.png]

*Still Perfecting my bar, will add icons when I get the chance.


RE: Bar / Conky Configs. - zygotb - 18-08-2013

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.


RE: Bar / Conky Configs. - funriz - 19-01-2014

bar with some powerlineporn:

[Image: qNqbLGy.png]

or link:

http://i.imgur.com/qNqbLGy.png


RE: Bar / Conky Configs. - lidstah - 21-01-2014

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

conky -c yourconkyconffile | while read -r; do echo $REPLY > /mnt/ramdisk/conkytext; done &

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.


RE: Bar / Conky Configs. - earsplit - 21-01-2014

I also pipe Conky into BAR, using some scripts to change icons based on levels.

https://github.com/windelicato/dotfiles/tree/master/.config/bspwm/panel

panel is started with
Code:
panel &
alt + tab brings up the launcher menu with
Code:
launcher launcher_apps

[Image: 5lYBm]



RE: Bar / Conky Configs. - berk - 23-01-2014

[Image: xYA]



RE: Bar / Conky Configs. - cyberpunkz - 12-02-2014

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/
[Image: mcwm___bar__based_on_xcb____xmobar_on_fr...763wp3.png]