home
·
contact
·
privacy
projects
/
confplom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31f60be
)
To status bar add timezone information.
master
author
Plom Heller
<plom@plomlompom.com>
Fri, 18 Sep 2026 23:21:03 +0000
(
01:21
+0200)
committer
Plom Heller
<plom@plomlompom.com>
Fri, 18 Sep 2026 23:21:03 +0000
(
01:21
+0200)
home/user/.config/sway/status.py
patch
|
blob
|
history
diff --git
a/home/user/.config/sway/status.py
b/home/user/.config/sway/status.py
index d29a5b58c835acc6089396e175dd8be86962b336..acfb97aa75cced72e75789b6d7e1be6c3d7a18fe 100755
(executable)
--- a/
home/user/.config/sway/status.py
+++ b/
home/user/.config/sway/status.py
@@
-99,7
+99,7
@@
def info_battery(
def info_datetime(
) -> str:
'Produce current date and time.'
- return
str(datetime.now().isoformat(' ', 'seconds')
)
+ return
datetime.now().astimezone().strftime('%Y-%m-%d %H:%M:%S %z/%Z'
)
def info_network(