mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-27 05:34:35 +00:00
20 lines
379 B
Plaintext
20 lines
379 B
Plaintext
|
(defpoll bitcoin
|
||
|
:interval "5m"
|
||
|
:initial "$N/A"
|
||
|
`~/.local/bin/scripts/cli/bitcoin`)
|
||
|
|
||
|
(defwidget bitcoin_module []
|
||
|
(eventbox
|
||
|
:onclick "~/.local/bin/scripts/cli/bitcoin | xargs -I_ ${EWW_CMD} update bitcoin=_"
|
||
|
:class "module bitcoin"
|
||
|
|
||
|
(box
|
||
|
:space-evenly false
|
||
|
|
||
|
(label
|
||
|
:class "icon"
|
||
|
:text "ﴑ")
|
||
|
(label :text {bitcoin}))
|
||
|
)
|
||
|
)
|