Discussion:
Awesome WM clock seconds
David Gomes
2012-07-15 15:42:30 UTC
Permalink
Is there a way to have seconds on awesome's textclock? Or do I have to make
my own widget?

Thank you.
Musee U
2012-07-15 15:48:16 UTC
Permalink
This is usually one of my first edits whenever I install/setup awesome. You
just need to modify your clock widget to add seconds. This is what mine
looks like:

mytextclock = awful.widget.textclock({ align = "right" }, "%a %b %d,
%H:%M:%S", 1)

The %S will translate to seconds,. The last variable is "1" so that it
updates every second (I think it's "10" by default).

-Musee
Post by David Gomes
Is there a way to have seconds on awesome's textclock? Or do I have to
make my own widget?
Thank you.
David Gomes
2012-07-15 16:33:09 UTC
Permalink
Thank you, worked perfectly.

On Sun, Jul 15, 2012 at 4:48 PM, Musee U <
Post by Musee U
This is usually one of my first edits whenever I install/setup awesome.
You just need to modify your clock widget to add seconds. This is what mine
mytextclock = awful.widget.textclock({ align = "right" }, "%a %b %d,
%H:%M:%S", 1)
The %S will translate to seconds,. The last variable is "1" so that it
updates every second (I think it's "10" by default).
-Musee
Post by David Gomes
Is there a way to have seconds on awesome's textclock? Or do I have to
make my own widget?
Thank you.
f***@feedelli.org
2012-07-15 19:18:25 UTC
Permalink
Thanks for this!
Post by Musee U
This is usually one of my first edits whenever I install/setup awesome. You
just need to modify your clock widget to add seconds. This is what mine
mytextclock = awful.widget.textclock({ align = "right" }, "%a %b %d,
%H:%M:%S", 1)
The %S will translate to seconds,. The last variable is "1" so that it
updates every second (I think it's "10" by default).
-Musee
Post by David Gomes
Is there a way to have seconds on awesome's textclock? Or do I have to
make my own widget?
Thank you.
Continue reading on narkive:
Loading...