add(hyprlock): added typewriter animtaion
This commit is contained in:
+16
-11
@@ -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
|
||||
}
|
||||
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user