Bar / Conky Configs. - Printable Version +- nixers (https://nixers.net) +-- Forum: Desktop Customization, Efficiency, and Aesthetics (https://nixers.net/Forum-Desktop-Customization-Efficiency-and-Aesthetics) +--- Forum: Desktop Customization & Workflow (https://nixers.net/Forum-Desktop-Customization-Workflow) +--- Thread: Bar / Conky Configs. (/Thread-Bar-Conky-Configs) Pages:
1
2
|
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...): 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) 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 *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: 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 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 & Code: launcher launcher_apps RE: Bar / Conky Configs. - berk - 23-01-2014 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/ RE: Bar / Conky Configs. - venam - 12-02-2014 (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. RE: Bar / Conky Configs. - cyberpunkz - 12-02-2014 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 RE: Bar / Conky Configs. - yrmt - 12-02-2014 You should look into 2bwm, you can have workspace tags with it. RE: Bar / Conky Configs. - cyberpunkz - 12-02-2014 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! RE: Bar / Conky Configs. - cyberpunkz - 12-02-2014 Hey heres a 2bwm screenshot with pcmanfm, conky | bar , xmobar. RE: Bar / Conky Configs. - cyberpunkz - 13-02-2014 Here is 2 screenshots of 2bwm with conky pipe to bar, pcmanfm and tmux + weechat :) Screenshot 1 RE: Bar / Conky Configs. - yrmt - 13-02-2014 Nice! Try to use the same font in your terminal and on your gtk theme and your top bar. RE: Bar / Conky Configs. - cyberpunkz - 13-02-2014 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. :) RE: Bar / Conky Configs. - yrmt - 13-02-2014 Yes! this is good. RE: Bar / Conky Configs. - rudylorren - 22-02-2014 (19-01-2014, 06:03 AM)funriz Wrote: bar with some powerlineporn: Can you post configs? :) RE: Bar / Conky Configs. - funriz - 23-02-2014 https://github.com/esn89/dotfiles RE: Bar / Conky Configs. - kirby - 11-07-2014 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? RE: Bar / Conky Configs. - dcli - 11-07-2014 Updates how, kirby? Like every time the clock changes? RE: Bar / Conky Configs. - kirby - 11-07-2014 Every second, it's a loop with 'sleep 1' at the end. You can see how this would really quickly fill up the limit. RE: Bar / Conky Configs. - pvtmert - 15-07-2014 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 RE: Bar / Conky Configs. - kirby - 16-07-2014 (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? RE: Bar / Conky Configs. - pvtmert - 20-07-2014 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 RE: Bar / Conky Configs. - neeasade - 05-04-2015 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 RE: Bar / Conky Configs. - seninha - 05-05-2020 What is the difference between lemonbar and dzen2? What can I do with dzen2 that I cannot do with lemonbar (and vice-versa)? RE: Bar / Conky Configs. - neeasade - 05-05-2020 > 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. |