hyprlock: fix clock label position

This commit is contained in:
Tigor Hutasuhut 2024-08-14 14:01:26 +07:00
parent 7b27e66ae6
commit d81cae34d7
4 changed files with 5 additions and 3 deletions

View file

@ -6,7 +6,7 @@ in
config = lib.mkIf cfg.enable {
home.packages = [ unstable.hypridle ];
home.file.".config/hypr/hypridle.conf".text = ''
home.file.".config/hypr/hypridle.conf".text = /*hyprlang*/ ''
general {
lock_cmd = "pidof hyprlock || hyprlock"
before_sleep_cmd = "hyprlock"

View file

@ -220,7 +220,7 @@ in
config.profile.whatsapp.window_rule
];
};
extraConfig = ''
extraConfig = /*hyprlang*/ ''
exec-once=dbus-update-activation-enviroment --all
exec-once=${gnome-keyring.path} ${config.sops.secrets."gnome-keyring/${config.home.username}".path}

View file

@ -12,6 +12,7 @@ in
let
blurred_image = "${config.home.homeDirectory}/.cache/wallpaper/blurred.png";
in
/*hyprlang*/
''
background {
monitor =
@ -54,7 +55,7 @@ in
color = rgba(200, 200, 200, 1.0)
font_size = 55
font_family = Fira Semibold
position = -100, -40
position = -100, 25
halign = right
valign = bottom
shadow_passes = 5

View file

@ -12,6 +12,7 @@ in
let
recent_wallpaper = "${config.home.homeDirectory}/.cache/wallpaper/current";
in
/*hyprlang*/
''
preload = ${recent_wallpaper}
wallpaper = ,${recent_wallpaper}