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

50
flake.lock generated
View file

@ -72,6 +72,18 @@
"type": "github" "type": "github"
} }
}, },
"darwin-src": {
"flake": false,
"locked": {
"narHash": "sha256-9Juqg0xHqv5XpY1FBapaqsOv9GUMYUyNdzM4gCYTFpI=",
"type": "file",
"url": "https://github.com/zen-browser/desktop/releases/download/1.12.8b/zen.macos-universal.dmg"
},
"original": {
"type": "file",
"url": "https://github.com/zen-browser/desktop/releases/download/1.12.8b/zen.macos-universal.dmg"
}
},
"dream2nix": { "dream2nix": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -921,6 +933,19 @@
"type": "github" "type": "github"
} }
}, },
"linux-src": {
"flake": false,
"locked": {
"lastModified": 1747948295,
"narHash": "sha256-exEj4FL1KYtyGiJHAycm5oIzsWE5FcXVzqYlZOIUDqo=",
"type": "tarball",
"url": "https://github.com/zen-browser/desktop/releases/download/1.12.8b/zen.linux-x86_64.tar.xz"
},
"original": {
"type": "tarball",
"url": "https://github.com/zen-browser/desktop/releases/download/1.12.8b/zen.linux-x86_64.tar.xz"
}
},
"lix": { "lix": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -1354,7 +1379,8 @@
"systems": "systems_6", "systems": "systems_6",
"waybar": "waybar", "waybar": "waybar",
"yazi": "yazi", "yazi": "yazi",
"zed-editor": "zed-editor" "zed-editor": "zed-editor",
"zen-browser": "zen-browser"
} }
}, },
"rust-overlay": { "rust-overlay": {
@ -1791,6 +1817,28 @@
"type": "github" "type": "github"
} }
}, },
"zen-browser": {
"inputs": {
"darwin-src": "darwin-src",
"linux-src": "linux-src",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1748066818,
"narHash": "sha256-eu5fJ2w0LnY0RQQ0BQ4GcE4B8gQJXWPaGqTsRHu4jEU=",
"owner": "InvraNet",
"repo": "zen-flake",
"rev": "b293d1439fa82f7ef771e69371bd0cbd24f8ec6d",
"type": "gitlab"
},
"original": {
"owner": "InvraNet",
"repo": "zen-flake",
"type": "gitlab"
}
},
"zig": { "zig": {
"inputs": { "inputs": {
"flake-compat": [ "flake-compat": [

View file

@ -58,6 +58,10 @@
url = "github:zed-industries/zed"; url = "github:zed-industries/zed";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
zen-browser = {
url = "gitlab:InvraNet/zen-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = outputs =
inputs: inputs:

View file

@ -72,6 +72,7 @@ in
finamp finamp
lingot lingot
keymapp keymapp
zen
; ;
}; };
}; };

View file

@ -0,0 +1,12 @@
{
flake,
pkgs,
...
}:
{
home.packages = builtins.attrValues {
inherit (flake.inputs.zen-browser.packages."${pkgs.system}")
default
;
};
}

View file

@ -76,6 +76,14 @@ in
trigger = ":emdash"; trigger = ":emdash";
replace = ""; replace = "";
} }
{
trigger = ":dag1";
replace = "";
}
{
trigger = ":dag2";
replace = "";
}
{ {
trigger = ":glp"; trigger = ":glp";
replace = "GLP-1RA"; replace = "GLP-1RA";

View file

@ -59,9 +59,6 @@ let
"Home, exec, playerctl play-pause" "Home, exec, playerctl play-pause"
"Space, exec, fuzzel" "Space, exec, fuzzel"
# Utility # Utility
"End, exec, shutdown now"
"Insert, exec, systemctl reboot"
"Home, exec, swaylock"
]; ];
superShiftBinds = builtins.map (x: "SUPER SHIFT, " + x) [ superShiftBinds = builtins.map (x: "SUPER SHIFT, " + x) [
@ -70,6 +67,9 @@ let
"period, exec, emote" "period, exec, emote"
"T, fullscreen, 0" "T, fullscreen, 0"
# "Print, exec, grim -g \"$(slurp)\"" # "Print, exec, grim -g \"$(slurp)\""
"End, exec, shutdown now"
"Insert, exec, systemctl reboot"
"Home, exec, swaylock"
]; ];
superCtrlBinds = builtins.map (x: "SUPER CTRL, " + x) [ superCtrlBinds = builtins.map (x: "SUPER CTRL, " + x) [
# Super+shift binds # Super+shift binds

View file

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

View file

View file

@ -8,7 +8,7 @@ let
subredditEntries = builtins.map (sub: { subredditEntries = builtins.map (sub: {
type = "reddit"; type = "reddit";
subreddit = sub; subreddit = sub;
collapse-after = 4; collapse-after = 5;
show-thumbnails = true; show-thumbnails = true;
sort-by = "top"; sort-by = "top";
top-period = "day"; 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"> <ul class="list-horizontal-text">
<li>{{ .Int "final_price" | toFloat | mul 0.01 | printf "$%.2f" }}</li> <li>{{ .Int "final_price" | toFloat | mul 0.01 | printf "$%.2f" }}</li>
{{ $discount := .Int "discount_percent" }} {{ $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> </ul>
</li> </li>
{{ end }} {{ end }}

View file