Search found 6 matches

by masinick
Mon Jul 04, 2022 4:13 pm
Forum: Scripts
Topic: Simple Clock
Replies: 74
Views: 9634

Re: Simple Clock

Wow! I'm glad that many of you got involved in writing some tools and scripts. I found good examples long ago; the past 3-4 pages are well beyond but I was originally looking for, but as I say, if other participants want to embellish and enhance the scripts and write programs, this is precisely what ...
by masinick
Tue Jun 21, 2022 9:22 pm
Forum: Scripts
Topic: Simple Clock
Replies: 74
Views: 9634

Re: Simple Clock

Glad you like it! Without the coding expertise and helpful notes from misco_2083 that never would have happened.

We have several other really nice, simple examples too. Thanks to everyone who responded. This has been an educational and fun exercise!

by masinick
Tue Jun 21, 2022 3:14 pm
Forum: Scripts
Topic: Simple Clock
Replies: 74
Views: 9634

Re: Simple Clock

I hacked the C code, citing our talented coder misco_2083, and I offer back my modified hacks here for anyone interested: /* sclock.c */ /* Provided on https://forum.puppylinux.com/viewtopic.php?p=59787#p59787 */ /* by misco_2083 */ /* requires libgtk-3-dev on Debian, pulls in a lot of extra ...
by masinick
Mon Jun 20, 2022 4:41 pm
Forum: Scripts
Topic: Simple Clock
Replies: 74
Views: 9634

Re: Simple Clock

I love all of these suggestions. I found a solution and I have also been experimenting with simple clocks in several scripting languages and tools, including Bash, yad, TCL/Tk, pythons and Conky. At this point I have several solutions and the comments are correct; there are many clocks available ...
by masinick
Mon Jun 13, 2022 9:15 pm
Forum: Scripts
Topic: Simple Clock
Replies: 74
Views: 9634

Re: Simple Clock

Thanks!

I also added --posx and --posy coordinates to move the box close to the top; experimenting to see what values are best for my current setup.

I really appreciate your help!

by masinick
Mon Jun 13, 2022 6:48 pm
Forum: Scripts
Topic: Simple Clock
Replies: 74
Views: 9634

Simple Clock

I have a short Bash script that produces a simple clock in the top left corner of a bash shell window. I've copied the text of the script below. I'd like to create a very simple Yad script that displays the date and time like this: Jun 13, 2022 02:42:01 PM in a small Yad clock. I've seen a Yad alarm ...

Go to advanced search