unintrusive OSD clock for nomnom

Forum rules
Share your brain ;)
machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

unintrusive OSD clock for nomnom

Unread post by machinebacon » Sat Nov 12, 2016 5:56 pm

nano ~/.xinitrc

Code: Select all

# ...all your .xinitrc stuff are above this 
while true; do date +"%H:%M" | osd_cat -A right -p bottom -o -40 -i 20 -c cyan; done &
exec <window-manager>
"while true - do .. - done" is a never-ending loop. The date +"%H:%M" command shows you hours:minutes and pipes the output to osd_cat (installed on BBQ). Alignment is right, at the bottom position, with an offset of -40 pixels and indented 20 pixels, in cyan color. Done :D after this, the window manager starts
Attachments
nomnom.png
..gnutella..

User avatar
noo_b_nomnoms
MILF
Posts: 522
Joined: Sat Jan 09, 2016 5:13 pm
Location: USA

Re: unintrusive OSD clock for nomnom

Unread post by noo_b_nomnoms » Sun Nov 13, 2016 10:00 am

Awesome! Thanks for this!
Sir! Put down the hammer and slowly step away from the computer.

Post Reply