diff --git a/home/programs/hyprlock.nix b/home/programs/hyprlock.nix
index 0313a0d..ad4dd3e 100644
--- a/home/programs/hyprlock.nix
+++ b/home/programs/hyprlock.nix
@@ -4,12 +4,25 @@
programs.hyprlock = {
enable = true;
settings = {
+ # ── colors ────────────────────────────────────────────────────────────
+ mocha-base = "rgb(1e1e2e)";
+ mocha-mantle = "rgb(181825)";
+ mocha-crust = "rgb(11111b)";
+ mocha-text = "rgb(cdd6f4)";
+ mocha-subtext1 = "rgb(bac2de)";
+ mocha-subtext0 = "rgb(a6adc8)";
+ mocha-surface2 = "rgb(585b70)";
+ mocha-overlay0 = "rgb(6c7086)";
+ mocha-blue = "rgb(89b4fa)";
+ mocha-peach = "rgb(fab387)";
+ mocha-lavender = "rgb(cba6f7)";
+ mocha-white = "rgb(cdd6f5)";
+
general = {
- # disable_loading_bar = true;
- # grace = 300;
hide_cursor = true;
ignore_empty_input = true;
- # no_fade_in = false;
+ text_trim = false;
+ fail_timeout = 500;
};
animations = {
@@ -29,6 +42,84 @@
path = "screenshot";
blur_passes = 2;
blur_size = 3;
+ noise = 0.0117;
+ contrast = 1.3000;
+ brightness = 0.8000;
+ vibrancy = 0.2100;
+ vibrancy_darkness = 0.0;
+ }
+ ];
+
+ label = [
+ # ── Hours ─────────────────────────────────────────────────────────────
+ {
+ size = "200, 50";
+ position = "50, 100";
+ monitor = "";
+ text = "cmd[update:1000] printf '%(%H)T'";
+ color = "$mocha-lavender";
+ font_size = 80;
+ font_family = "Fira Code";
+ shadow_passes = 3;
+ shadow_size = 4;
+ halign = "left";
+ valign = "bottom";
+ }
+
+ # ── : ─────────────────────────────────────────────────────────────────
+ {
+ position = "170, 105";
+ monitor = "";
+ text = ":";
+ color = "$mocha-subtext1";
+ font_size = 80;
+ font_family = "Fira Code";
+ shadow_passes = 3;
+ shadow_size = 4;
+ halign = "left";
+ valign = "bottom";
+ }
+
+ # ── Minutes ───────────────────────────────────────────────────────────
+ {
+ position = "220, 100";
+ monitor = "";
+ text = "cmd[update:1000] printf '%(%M)T'";
+ color = "$mocha-blue";
+ font_size = 80;
+ font_family = "Fira Code";
+ shadow_passes = 3;
+ shadow_size = 4;
+ halign = "left";
+ valign = "bottom";
+ }
+
+ # ── "Monday 2, May" ───────────────────────────────────────────────────
+ {
+ position = "370, 130";
+ monitor = "";
+ text = "cmd[update:300000] printf '%(%A, %d %b)T'";
+ color = "$mocha-text";
+ font_size = 18;
+ font_family = "Fira Code";
+ shadow_passes = 3;
+ shadow_size = 4;
+ halign = "left";
+ valign = "bottom";
+ }
+
+ # ── Battery ───────────────────────────────────────────────────────────
+ {
+ position = "-30, -10";
+ monitor = "";
+ text = "cmd[update:2000] printf ' %s%%' \"$(cat /sys/class/power_supply/BAT0/capacity)\"";
+ color = "$mocha-peach";
+ font_size = 15;
+ font_family = "Fira Code";
+ shadow_passes = 3;
+ shadow_size = 4;
+ halign = "right";
+ valign = "top";
}
];
diff --git a/home/programs/swww/default.nix b/home/programs/swww/default.nix
index 1348738..1f93d61 100644
--- a/home/programs/swww/default.nix
+++ b/home/programs/swww/default.nix
@@ -4,6 +4,7 @@
home.packages = with pkgs; [
swww
];
+ services.swww.enable = true;
xsession.initExtra = ''
swww-daemon
swww img "/etc/nixos/home/programs/swww/background_temp.jpeg" fill