18 lines
539 B
Text
Executable file
18 lines
539 B
Text
Executable file
(deflisten musicArtist :initial "-" "playerctl --follow metadata --format '{{ artist }}'")
|
|
(deflisten musicTitle :initial "-" "playerctl --follow metadata --format '{{title}}'")
|
|
(deflisten musicCover "get-music-cover")
|
|
|
|
|
|
(defpoll fulldate :interval "1s"
|
|
:initial "initial-value"
|
|
`date "+%A - %d %B %Y - %H:%M:%S"`)
|
|
|
|
(defpoll time :interval "30s"
|
|
:initial "initial-value"
|
|
`date +%H:%M`)
|
|
|
|
(defpoll date :interval "60s"
|
|
:initial "initial-value"
|
|
`date +%D-%Y`)
|
|
|
|
(defpoll uptime :interval "1s" "uptime | awk '{print $3}' | tr ',' ' '")
|