add(hyprlock): added typewriter animtaion

This commit is contained in:
kenji
2026-01-01 16:56:02 -06:00
parent f2f44f2fdd
commit a85014188f
5 changed files with 123 additions and 11 deletions
+16 -11
View File
@@ -6,6 +6,9 @@
cacheWallpaper = "${config.home.homeDirectory}/.cache/current_wallpaper";
clockFont = "JetBrains Mono";
in {
imports = [
./scripts/typewriter.nix
];
programs.hyprlock = {
enable = true;
extraConfig = ''
@@ -26,17 +29,6 @@ in {
vibrancy = 0.2
}
# Typewriter greeting (above clock)
label {
monitor =
text = Hello World!
color = $on_surface_variant
font_size = 24
font_family = ${clockFont} Bold
position = 0, 200
halign = center
valign = center
}
# Hours (top)
label {
@@ -111,6 +103,19 @@ in {
fail_timeout = 2000
fail_transition = 300
}
# Typewriter greeting (above clock)
label {
monitor =
text = cmd[update:50] hakase-hyprlock-typewriter 'They do be like that, huh?'
color = $on_surface_variant
font_size = 24
font_family = ${clockFont} Bold
position = 0, 200
halign = center
valign = center
}
'';
};
}