summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2022-10-08 10:39:14 -0700
committerMike Crute <mike@crute.us>2022-10-08 10:39:14 -0700
commit9b234edeb6d57c911a0ac767fb82e5bf6fd92783 (patch)
tree1d13db093fdb28fd8e381f820c8876c107c374bd /bin
parent531201dd29c39581f6d9f31af7ad62a5b7c26539 (diff)
downloaddotfiles-9b234edeb6d57c911a0ac767fb82e5bf6fd92783.tar.bz2
dotfiles-9b234edeb6d57c911a0ac767fb82e5bf6fd92783.tar.xz
dotfiles-9b234edeb6d57c911a0ac767fb82e5bf6fd92783.zip
Add clock widget
Diffstat (limited to 'bin')
-rwxr-xr-xbin/vclock9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/vclock b/bin/vclock
new file mode 100755
index 0000000..f53b090
--- /dev/null
+++ b/bin/vclock
@@ -0,0 +1,9 @@
1#!/bin/bash
2
3color="#AAA"
4
5if [[ "$1" == "-s" ]]; then
6 xclock -digital -strftime "%H:%M:%S" -face ":size=100:antialias=true:autohint=true" -fg $color -bg black -update 1
7else
8 xclock -digital -strftime "%H:%M" -face ":size=100:antialias=true:autohint=true" -fg $color -bg black -update 1
9fi