diff --git a/de/home/.config/eww/eww.scss b/de/home/.config/eww/eww.scss index 046069c..10a1cc1 100644 --- a/de/home/.config/eww/eww.scss +++ b/de/home/.config/eww/eww.scss @@ -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; diff --git a/de/home/.config/eww/modules/home/softwareupdates.yuck b/de/home/.config/eww/modules/home/softwareupdates.yuck index a85a014..0294e4a 100644 --- a/de/home/.config/eww/modules/home/softwareupdates.yuck +++ b/de/home/.config/eww/modules/home/softwareupdates.yuck @@ -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" ) ? "" : ""})))) )) diff --git a/de/home/.config/software-release-monitor/config.json b/de/home/.config/software-release-monitor/config.json index 58a3558..e5afa69 100644 --- a/de/home/.config/software-release-monitor/config.json +++ b/de/home/.config/software-release-monitor/config.json @@ -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" } ]