Page 1 of 1

Conky on demand

Posted: 26 Nov 2014, 20:26
by sean
Does anybody here use Conky?

I do myself with a full top to bottom right edge 2" wide on my 23" monitor. I've used it for years and don't mind it being there at all, but lately I've been wondering if there was a way to place Conky into a wide vertical panel, and make the panel auto-hide. Since all my Conky is static, (I can't click on anything for some action result), then in theory, set as described above, Conky would be hidden until or unless I took the pointer to that particular edge of the screen, whereupon Conky would come into view.

I know this is Porteus, and that's why I put this here, in General Chat. Just wondering if anyone here might have an idea first?

Sean

Re: Conky on demand

Posted: 27 Nov 2014, 01:18
by brokenman

Re: Conky on demand

Posted: 12 Dec 2014, 21:50
by ncmprhnsbl
if there was a way to place Conky into a wide vertical panel, and make the panel auto-hide.
conky can be any shape/position you want, and has an "own_window_type panel" option, but no inbuilt 'hiding' ability. tiko
a small script to turn conky on and off, might do the trick:

Code: Select all

#!/bin/bash
# 

if [ "$(ps -C conky -o pid=)" ]; then
    killall conky &
    exit 0
else
    conky &
    exit 0
fi
name it conkytoggle and 'chmod +x' it.
to bind this to a screen edge requires a DE/wm that has that feature like KDE or compiz, otherwise a keyboard shortcut....