snowflake/home/programs/eww/config/vars.yuck

15 lines
526 B
Text
Raw Normal View History

(deflisten musicArtist :initial "-" "playerctl --follow metadata --format '{{ artist }}'")
(deflisten musicTitle :initial "-" "playerctl --follow metadata --format '{{title}}'")
2024-05-13 16:18:49 -04:00
(deflisten musicCover "sh /home/notoh/snowflake/home/programs/eww/config/scripts/get-music-cover.sh /tmp/eww/cache_directory")
(defpoll time :interval "60s"
:initial "initial-value"
`date +%H:%M`)
(defpoll date :interval "60s"
:initial "initial-value"
`date +%D-%Y`)
2024-05-13 16:18:49 -04:00
(defpoll uptime :interval "1s" "uptime | awk '{print $3}' | tr ',' ' '")