New backup 2025-07-05 17:15:02
This commit is contained in:
parent
8fbc9c8bfc
commit
b8b119da97
3 changed files with 19 additions and 3 deletions
|
@ -268,6 +268,13 @@ $home-widget-border-color: rgba($color5,1);
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
color: $home-widget-subtitle-color;
|
color: $home-widget-subtitle-color;
|
||||||
}
|
}
|
||||||
|
.details {
|
||||||
|
font-size: 0.8em;
|
||||||
|
color: $home-widget-subtitle-color;
|
||||||
|
}
|
||||||
|
.status {
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
image {
|
image {
|
||||||
opacity: $home-button-fg-opacity;
|
opacity: $home-button-fg-opacity;
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
:height 150
|
:height 150
|
||||||
:space-evenly true
|
:space-evenly true
|
||||||
(for software in json
|
(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
|
(box
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
(label
|
(label
|
||||||
|
@ -25,14 +25,15 @@
|
||||||
:halign "end"
|
:halign "end"
|
||||||
(label
|
(label
|
||||||
:valign "end"
|
:valign "end"
|
||||||
:class "timestamp"
|
:class "details"
|
||||||
:text " ${software.upstream_version}")
|
:text " ${software.upstream_version}")
|
||||||
(label
|
(label
|
||||||
:valign "start"
|
:valign "start"
|
||||||
:class "timestamp"
|
:class "details"
|
||||||
:text " ${software.package_version}"))
|
:text " ${software.package_version}"))
|
||||||
(label
|
(label
|
||||||
:halign "end"
|
:halign "end"
|
||||||
|
:class "status"
|
||||||
:style {(software.up_to_date == "true" ) ? "color: green;" : "color: red;"}
|
:style {(software.up_to_date == "true" ) ? "color: green;" : "color: red;"}
|
||||||
:text {(software.up_to_date == "true" ) ? "" : ""}))))
|
:text {(software.up_to_date == "true" ) ? "" : ""}))))
|
||||||
))
|
))
|
||||||
|
|
|
@ -6,5 +6,13 @@
|
||||||
{
|
{
|
||||||
"packageName":"swayfx",
|
"packageName":"swayfx",
|
||||||
"upstreamURL":"https://github.com/WillPower3309/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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Reference in a new issue