Altered version of the sys-mon-set widgets with more padding

- Link to original version: http://tracesof.net/uebersicht-widgets/#sys-mon-set
This commit is contained in:
2019-07-27 21:46:03 +03:00
commit 918aa40339
10 changed files with 491 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
command: "curl -s checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'"
refreshFrequency: 43200000
style: """
bottom: 135px
left: 90px
color: #ccc
font-family: Helvetica Neue
div
display: block
text-shadow: 0 0 1px rgba(#000, 0.5)
font-size: 24px
font-weight: 100
"""
render: -> """
<div class='ip_address'></div>
"""
update: (output, domEl) ->
$(domEl).find('.ip_address').html(output)