fixing clock_full
This commit is contained in:
parent
ad58a6fcb9
commit
7d97a7825c
|
@ -5,6 +5,7 @@
|
||||||
(include "battery.yuck")
|
(include "battery.yuck")
|
||||||
|
|
||||||
(defpoll clock_time :interval "5s" "date '+\%l:\%M \%p'")
|
(defpoll clock_time :interval "5s" "date '+\%l:\%M \%p'")
|
||||||
|
(defpoll clock_full :interval "5s" "date '+\%b \%d, \%Y, \%l:\%M \%p'")
|
||||||
(defpoll clock_date :interval "1h" "date '+%b %d, %Y'")
|
(defpoll clock_date :interval "1h" "date '+%b %d, %Y'")
|
||||||
(defpoll calendar_day :interval "2h" "date '+%d'")
|
(defpoll calendar_day :interval "2h" "date '+%d'")
|
||||||
(defpoll calendar_year :interval "2h" "date '+%Y'")
|
(defpoll calendar_year :interval "2h" "date '+%Y'")
|
||||||
|
@ -97,6 +98,7 @@
|
||||||
(scale
|
(scale
|
||||||
:class "volbar"
|
:class "volbar"
|
||||||
:value volume_percent
|
:value volume_percent
|
||||||
|
:draw-value: true
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:tooltip "${volume_percent}%"
|
:tooltip "${volume_percent}%"
|
||||||
:max 100
|
:max 100
|
||||||
|
@ -201,10 +203,10 @@
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:spacing "0"
|
:spacing "0"
|
||||||
(label
|
(label
|
||||||
:text clock_time
|
:text {HOST == "kaladin" ? clock_full : clock_time}
|
||||||
:class "clock_time_class" )
|
:class "clock_time_class" )
|
||||||
(revealer :transition "slideleft"
|
(revealer :transition "slideleft"
|
||||||
:reveal time_rev
|
:reveal {HOST == "kaladin" ? false : time_rev}
|
||||||
:duration "250ms"
|
:duration "250ms"
|
||||||
(button
|
(button
|
||||||
:class "clock_date_class"
|
:class "clock_date_class"
|
||||||
|
@ -296,7 +298,7 @@
|
||||||
:geometry (geometry
|
:geometry (geometry
|
||||||
:x "15px"
|
:x "15px"
|
||||||
:y "10px"
|
:y "10px"
|
||||||
:width "99%"
|
:width "80%"
|
||||||
:height "30px"
|
:height "30px"
|
||||||
:anchor "bottom center")
|
:anchor "bottom center")
|
||||||
:stacking "fg"
|
:stacking "fg"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
(defwindow notifications
|
(defwindow notifications
|
||||||
:geometry (geometry :x "0px"
|
:geometry (geometry :x "0px"
|
||||||
:y "0px"
|
:y "0px"
|
||||||
|
|
Loading…
Reference in a new issue