tty-clock | Clock using lib ncurses | Date Time Utils library
kandi X-RAY | tty-clock Summary
kandi X-RAY | tty-clock Summary
usage : tty-clock [-iuvsScbtrahDBxn] [-C [0-7]] [-f format] [-d delay] [-a nsdelay] [-T tty] -s Show seconds -S Screensaver mode -x Show box -c Set the clock at the center of the terminal -C [0-7] Set the clock color -b Use bold colors -t Set the hour in 12h format -u Use UTC time -T tty Display the clock on the specified terminal -r Do rebound the clock -f format Set the date format -n Don't quit on keypress -v Show tty-clock version -i Show some info about tty-clock -h Show this page -D Hide date -B Enable blinking colon -d delay Set the delay between two redraws of the clock. Default 1s. -a nsdelay Additional delay between two redraws in nanoseconds. Default 0ns.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tty-clock
tty-clock Key Features
tty-clock Examples and Code Snippets
Community Discussions
Trending Discussions on tty-clock
QUESTION
I would like to set tty-clock output as background for my i3 setup. I want to know how to display a command output as background.
Things I tried so far:
- Running a script that supposedly would run tty-clock and take its screenshot with scrot once a minute and feh would set it as background.
Problem: tty-clock would stay on without ever letting next command to run and scrot is a screenshot utility and it would capture whatever I am looking at. Or I would need to switch to that workspace every minute to run, shot, kill, set as background.
ANSWER
Answered 2019-Mar-20 at 16:03You don't need to invoke tty-clock at all: a script which sends the output of date
(formatted to suit) to a text file, and then runs convert
on that should do the trick. You'll need to spend some time playing with the convert
parameters to get the desired look of course.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tty-clock
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page