hyprlock fix

This commit is contained in:
Reid 2024-10-16 22:27:00 -07:00
parent aabffc2a75
commit 8fb86f18f7
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
6 changed files with 23 additions and 37 deletions

View file

@ -18,6 +18,6 @@ each host should have these files:
- multi architecture configuration ([nix-systems](https://github.com/nix-systems/nix-systems)?) - multi architecture configuration ([nix-systems](https://github.com/nix-systems/nix-systems)?)
- divide steam and gamemode? - divide steam and gamemode?
- hidpi and cursor size option - hidpi and cursor size option
- better theming for hyprlock, nwg-drawer, dunst - better theming for hyprlock, nwg-drawer, dunst, rofi (specifically accent for catppuccin)
- why is hyprlock broken??? - remove battery ui in hyprlock if user isnt on laptop
- wallpaper cycling - wallpaper cycling

45
flake.lock generated
View file

@ -350,11 +350,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1717881852, "lastModified": 1728168612,
"narHash": "sha256-XeeVoKHQgfKuXoP6q90sUqKyl7EYy3ol2dVZGM+Jj94=", "narHash": "sha256-AnB1KfiXINmuiW7BALYrKqcjCnsLZPifhb/7BsfPbns=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprlang", "repo": "hyprlang",
"rev": "ec6938c66253429192274d612912649a0cfe4d28", "rev": "f054f2e44d6a0b74607a6bc0f52dba337a3db38e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -367,21 +367,22 @@
"inputs": { "inputs": {
"hyprlang": "hyprlang_3", "hyprlang": "hyprlang_3",
"hyprutils": "hyprutils_3", "hyprutils": "hyprutils_3",
"nixpkgs": "nixpkgs_4", "nixpkgs": [
"nixpkgs"
],
"systems": "systems_3" "systems": "systems_3"
}, },
"locked": { "locked": {
"lastModified": 1720707332, "lastModified": 1728821111,
"narHash": "sha256-OpUjVqJIxuouqUMmOAQI63XEOVk5EYyHwFVWdyrUdC8=", "narHash": "sha256-3dDOBfFkmusoF+6LWXkvQaSfzXb0DEqMEQQvEBbjN9Q=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprlock", "repo": "hyprlock",
"rev": "b407128caeb551ae808cf8d0fb653a252a271709", "rev": "11694528b4e0af597f25a5308d6872afd0b06807",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprlock", "repo": "hyprlock",
"rev": "b407128caeb551ae808cf8d0fb653a252a271709",
"type": "github" "type": "github"
} }
}, },
@ -447,11 +448,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1717881334, "lastModified": 1727300645,
"narHash": "sha256-a0inRgJhPL6v9v7RPM/rx1kbXdfe3xJA1c9z0ZkYnh4=", "narHash": "sha256-OvAtVLaSRPnbXzOwlR1fVqCXR7i+ICRX3aPMCdIiv+c=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprutils", "repo": "hyprutils",
"rev": "0693f9398ab693d89c9a0aa3b3d062dd61b7a60e", "rev": "3f5293432b6dc6a99f26aca2eba3876d2660665c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -584,22 +585,6 @@
} }
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": {
"lastModified": 1717602782,
"narHash": "sha256-pL9jeus5QpX5R+9rsp3hhZ+uplVHscNJh8n8VpqscM0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e8057b67ebf307f01bdcc8fba94d94f75039d1f6",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1728241625, "lastModified": 1728241625,
"narHash": "sha256-yumd4fBc/hi8a9QgA9IT8vlQuLZ2oqhkJXHPKxH/tRw=", "narHash": "sha256-yumd4fBc/hi8a9QgA9IT8vlQuLZ2oqhkJXHPKxH/tRw=",
@ -615,7 +600,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_6": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1720957393, "lastModified": 1720957393,
"narHash": "sha256-oedh2RwpjEa+TNxhg5Je9Ch6d3W1NKi7DbRO1ziHemA=", "narHash": "sha256-oedh2RwpjEa+TNxhg5Je9Ch6d3W1NKi7DbRO1ziHemA=",
@ -665,7 +650,7 @@
"hyprland-catppuccin": "hyprland-catppuccin", "hyprland-catppuccin": "hyprland-catppuccin",
"hyprlock": "hyprlock", "hyprlock": "hyprlock",
"nix-colors": "nix-colors", "nix-colors": "nix-colors",
"nixpkgs": "nixpkgs_5", "nixpkgs": "nixpkgs_4",
"waybar": "waybar", "waybar": "waybar",
"waybar-catppuccin": "waybar-catppuccin" "waybar-catppuccin": "waybar-catppuccin"
} }
@ -718,7 +703,7 @@
"waybar": { "waybar": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_2", "flake-compat": "flake-compat_2",
"nixpkgs": "nixpkgs_6" "nixpkgs": "nixpkgs_5"
}, },
"locked": { "locked": {
"lastModified": 1721250245, "lastModified": 1721250245,

View file

@ -14,7 +14,8 @@
# hypr suite # hypr suite
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1"; hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
hyprlock.url = "github:hyprwm/hyprlock?rev=b407128caeb551ae808cf8d0fb653a252a271709"; hyprlock.url = "github:hyprwm/hyprlock";
hyprlock.inputs.nixpkgs.follows = "nixpkgs";
hypridle.url = "github:hyprwm/hypridle"; hypridle.url = "github:hyprwm/hypridle";
waybar-catppuccin.url = "github:catppuccin/waybar"; waybar-catppuccin.url = "github:catppuccin/waybar";

View file

@ -269,7 +269,7 @@ in {
blur = { blur = {
enabled = true; enabled = true;
size = 10; size = 6;
passes = 3; passes = 3;
# popups and special workspace have blur disabled by default # popups and special workspace have blur disabled by default
popups = true; popups = true;

View file

@ -25,7 +25,7 @@ in {
hide_cursor = false; hide_cursor = false;
no_fade_in = true; no_fade_in = true;
no_fade_out = true; no_fade_out = true;
text_trim = false; text_trim = true;
}; };
background = [ background = [
{ {
@ -90,7 +90,7 @@ in {
color = "rgb(${base05})"; color = "rgb(${base05})";
font_size = 14; font_size = 14;
font_family = config.modules.desktop.fonts.fonts.sansSerif.family; font_family = config.modules.desktop.fonts.fonts.sansSerif.family;
text = "cmd[update:4000] echo \"<span font_weight='600'>$(cat /sys/class/power_supply/BAT0/capacity)%</span>\""; text = "cmd[update:4000] echo \"<b>$(${lib.getExe pkgs.acpi} -b | grep -oP \"\\d+%\" | head -n 1)</b>\"";
shadow_passes = 3; shadow_passes = 3;
shadow_size = 8; shadow_size = 8;

View file

@ -188,7 +188,7 @@ in {
warning = 20; warning = 20;
critical = 10; critical = 10;
}; };
full-at = 98; design-capacity = false;
format = "{icon} {capacity}%"; format = "{icon} {capacity}%";
format-icons = ["" "" "" "" ""]; format-icons = ["" "" "" "" ""];
format-critical = " {capacity}%"; format-critical = " {capacity}%";