New backup 2025-07-05 17:15:02

This commit is contained in:
Penelope Gwen 2025-07-05 17:15:02 -07:00
parent 8fbc9c8bfc
commit b8b119da97
3 changed files with 19 additions and 3 deletions

View file

@ -268,6 +268,13 @@ $home-widget-border-color: rgba($color5,1);
margin-top: 6px;
color: $home-widget-subtitle-color;
}
.details {
font-size: 0.8em;
color: $home-widget-subtitle-color;
}
.status {
margin-right: 10px;
}
}
image {
opacity: $home-button-fg-opacity;

View file

@ -10,7 +10,7 @@
:height 150
:space-evenly true
(for software in json
(button :onclick "notify-send '${software.package_name}' 'upstream: ${software.upstream_version}\npackage: ${software.package_version}'"
(button :onclick "notify-send '${software.package_name} is ${(software.up_to_date == 'true' ) ? 'up to date!' : 'outdated!'}' 'upstream: ${software.upstream_version}\\npackage: ${software.package_version}'"
(box
:orientation "h"
(label
@ -25,14 +25,15 @@
:halign "end"
(label
:valign "end"
:class "timestamp"
:class "details"
:text " ${software.upstream_version}")
(label
:valign "start"
:class "timestamp"
:class "details"
:text " ${software.package_version}"))
(label
:halign "end"
:class "status"
:style {(software.up_to_date == "true" ) ? "color: green;" : "color: red;"}
:text {(software.up_to_date == "true" ) ? "" : ""}))))
))

View file

@ -6,5 +6,13 @@
{
"packageName":"swayfx",
"upstreamURL":"https://github.com/WillPower3309/swayfx"
},
{
"packageName":"rssguard",
"upstreamURL":"https://github.com/martinrotter/rssguard"
},
{
"packageName":"makima",
"upstreamURL":"https://github.com/cyber-sushi/makima/releases.atom"
}
]