aboutsummaryrefslogtreecommitdiff
path: root/home/rices/finals/eww/configDir/eww.yuck
diff options
context:
space:
mode:
Diffstat (limited to 'home/rices/finals/eww/configDir/eww.yuck')
-rw-r--r--home/rices/finals/eww/configDir/eww.yuck24
1 files changed, 24 insertions, 0 deletions
diff --git a/home/rices/finals/eww/configDir/eww.yuck b/home/rices/finals/eww/configDir/eww.yuck
new file mode 100644
index 0000000..26d0df5
--- /dev/null
+++ b/home/rices/finals/eww/configDir/eww.yuck
@@ -0,0 +1,24 @@
+(defwindow clock
+ :monitor 0
+ :stacking "bottom"
+ :exclusive false
+ :focusable false
+ :geometry (geometry
+ :width "600px"
+ :height "200px"
+ :anchor "top center"
+ :y "80px")
+ (clock-widget))
+
+(defwidget clock-widget []
+ (box
+ :class "clock-container"
+ :orientation "vertical"
+ :valign "center"
+ :halign "center"
+ (label
+ :class "clock-time"
+ :markup {formattime(EWW_TIME, "%H:%M")})
+ (label
+ :class "clock-date"
+ :markup {formattime(EWW_TIME, "%A, %B %d")})))