2024-04-26 17:22:19 -04:00
|
|
|
(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")
|
2024-04-26 17:22:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
(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 ',' ' '")
|