mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -05:00
feat: need a quick push
This commit is contained in:
parent
a5bfa31ada
commit
0ddf9cd1ce
12 changed files with 96 additions and 7 deletions
50
flake.lock
generated
50
flake.lock
generated
|
@ -72,6 +72,18 @@
|
|||
"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": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -921,6 +933,19 @@
|
|||
"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": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
@ -1354,7 +1379,8 @@
|
|||
"systems": "systems_6",
|
||||
"waybar": "waybar",
|
||||
"yazi": "yazi",
|
||||
"zed-editor": "zed-editor"
|
||||
"zed-editor": "zed-editor",
|
||||
"zen-browser": "zen-browser"
|
||||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
|
@ -1791,6 +1817,28 @@
|
|||
"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": {
|
||||
"inputs": {
|
||||
"flake-compat": [
|
||||
|
|
|
@ -58,6 +58,10 @@
|
|||
url = "github:zed-industries/zed";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
zen-browser = {
|
||||
url = "gitlab:InvraNet/zen-flake";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
outputs =
|
||||
inputs:
|
||||
|
|
|
@ -72,6 +72,7 @@ in
|
|||
finamp
|
||||
lingot
|
||||
keymapp
|
||||
zen
|
||||
;
|
||||
};
|
||||
};
|
||||
|
|
12
modules/home/gui/apps/browsers/zen/default.nix
Executable file
12
modules/home/gui/apps/browsers/zen/default.nix
Executable file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
flake,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = builtins.attrValues {
|
||||
inherit (flake.inputs.zen-browser.packages."${pkgs.system}")
|
||||
default
|
||||
;
|
||||
};
|
||||
}
|
|
@ -76,6 +76,14 @@ in
|
|||
trigger = ":emdash";
|
||||
replace = "—";
|
||||
}
|
||||
{
|
||||
trigger = ":dag1";
|
||||
replace = "†";
|
||||
}
|
||||
{
|
||||
trigger = ":dag2";
|
||||
replace = "‡";
|
||||
}
|
||||
{
|
||||
trigger = ":glp";
|
||||
replace = "GLP-1RA";
|
||||
|
|
|
@ -59,9 +59,6 @@ let
|
|||
"Home, exec, playerctl play-pause"
|
||||
"Space, exec, fuzzel"
|
||||
# Utility
|
||||
"End, exec, shutdown now"
|
||||
"Insert, exec, systemctl reboot"
|
||||
"Home, exec, swaylock"
|
||||
];
|
||||
|
||||
superShiftBinds = builtins.map (x: "SUPER SHIFT, " + x) [
|
||||
|
@ -70,6 +67,9 @@ let
|
|||
"period, exec, emote"
|
||||
"T, fullscreen, 0"
|
||||
# "Print, exec, grim -g \"$(slurp)\""
|
||||
"End, exec, shutdown now"
|
||||
"Insert, exec, systemctl reboot"
|
||||
"Home, exec, swaylock"
|
||||
];
|
||||
superCtrlBinds = builtins.map (x: "SUPER CTRL, " + x) [
|
||||
# Super+shift binds
|
||||
|
|
|
@ -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
|
||||
];
|
||||
}
|
||||
{
|
||||
|
|
0
modules/nixos/services/glance/config/widgets/monitor.nix
Normal file → Executable file
0
modules/nixos/services/glance/config/widgets/monitor.nix
Normal file → Executable file
2
modules/nixos/services/glance/config/widgets/reddit.nix
Normal file → Executable file
2
modules/nixos/services/glance/config/widgets/reddit.nix
Normal file → Executable 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";
|
||||
|
|
15
modules/nixos/services/glance/config/widgets/repos.nix
Executable file
15
modules/nixos/services/glance/config/widgets/repos.nix
Executable 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"
|
||||
];
|
||||
}
|
|
@ -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 }}
|
||||
|
|
0
modules/nixos/services/glance/config/widgets/videos.nix
Normal file → Executable file
0
modules/nixos/services/glance/config/widgets/videos.nix
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue