feat: need a quick push

This commit is contained in:
Nick 2025-05-29 21:44:37 -05:00
parent a5bfa31ada
commit 0ddf9cd1ce
12 changed files with 96 additions and 7 deletions

View file

@ -10,6 +10,7 @@ let
weather = import (widgetsPath + /weather.nix);
reddit = import (widgetsPath + /reddit.nix);
videos = import (widgetsPath + /videos.nix);
repos = import (widgetsPath + /repos.nix);
};
in
[
@ -31,8 +32,8 @@ in
{
size = "small";
widgets = [
# widgets.jellyfin
widgets.steam
widgets.repos
];
}
{

View file

View file

@ -8,7 +8,7 @@ let
subredditEntries = builtins.map (sub: {
type = "reddit";
subreddit = sub;
collapse-after = 4;
collapse-after = 5;
show-thumbnails = true;
sort-by = "top";
top-period = "day";

View file

@ -0,0 +1,15 @@
{
type = "releases";
show-source-icon = true;
collapse-after = 7;
repositories = [
"jmshrv/finamp"
"futo-org/android-keyboard"
"hyprwm/Hyprland"
"mollyim/mollyim-android"
"jarnedemeulemeester/findroid"
"brandonp2412/Flexify"
"accrescent/accrescent"
"ImranR98/Obtainium"
];
}

View file

@ -6,7 +6,7 @@
<ul class="list-horizontal-text">
<li>{{ .Int "final_price" | toFloat | mul 0.01 | printf "$%.2f" }}</li>
{{ $discount := .Int "discount_percent" }}
<li{{ if ge $discount 40 }} class="color-positive"{{ end }}>{{ $discount }}% off</li>
<li{{ if ge $discount 1 }} class="color-positive"{{ end }}>{{ $discount }}% off</li>
</ul>
</li>
{{ end }}

View file