hyprlock: fix clock label position
This commit is contained in:
parent
7b27e66ae6
commit
d81cae34d7
|
@ -6,7 +6,7 @@ in
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
home.packages = [ unstable.hypridle ];
|
home.packages = [ unstable.hypridle ];
|
||||||
|
|
||||||
home.file.".config/hypr/hypridle.conf".text = ''
|
home.file.".config/hypr/hypridle.conf".text = /*hyprlang*/ ''
|
||||||
general {
|
general {
|
||||||
lock_cmd = "pidof hyprlock || hyprlock"
|
lock_cmd = "pidof hyprlock || hyprlock"
|
||||||
before_sleep_cmd = "hyprlock"
|
before_sleep_cmd = "hyprlock"
|
||||||
|
|
|
@ -220,7 +220,7 @@ in
|
||||||
config.profile.whatsapp.window_rule
|
config.profile.whatsapp.window_rule
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
extraConfig = /*hyprlang*/ ''
|
||||||
exec-once=dbus-update-activation-enviroment --all
|
exec-once=dbus-update-activation-enviroment --all
|
||||||
exec-once=${gnome-keyring.path} ${config.sops.secrets."gnome-keyring/${config.home.username}".path}
|
exec-once=${gnome-keyring.path} ${config.sops.secrets."gnome-keyring/${config.home.username}".path}
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,7 @@ in
|
||||||
let
|
let
|
||||||
blurred_image = "${config.home.homeDirectory}/.cache/wallpaper/blurred.png";
|
blurred_image = "${config.home.homeDirectory}/.cache/wallpaper/blurred.png";
|
||||||
in
|
in
|
||||||
|
/*hyprlang*/
|
||||||
''
|
''
|
||||||
background {
|
background {
|
||||||
monitor =
|
monitor =
|
||||||
|
@ -54,7 +55,7 @@ in
|
||||||
color = rgba(200, 200, 200, 1.0)
|
color = rgba(200, 200, 200, 1.0)
|
||||||
font_size = 55
|
font_size = 55
|
||||||
font_family = Fira Semibold
|
font_family = Fira Semibold
|
||||||
position = -100, -40
|
position = -100, 25
|
||||||
halign = right
|
halign = right
|
||||||
valign = bottom
|
valign = bottom
|
||||||
shadow_passes = 5
|
shadow_passes = 5
|
||||||
|
|
|
@ -12,6 +12,7 @@ in
|
||||||
let
|
let
|
||||||
recent_wallpaper = "${config.home.homeDirectory}/.cache/wallpaper/current";
|
recent_wallpaper = "${config.home.homeDirectory}/.cache/wallpaper/current";
|
||||||
in
|
in
|
||||||
|
/*hyprlang*/
|
||||||
''
|
''
|
||||||
preload = ${recent_wallpaper}
|
preload = ${recent_wallpaper}
|
||||||
wallpaper = ,${recent_wallpaper}
|
wallpaper = ,${recent_wallpaper}
|
||||||
|
|
Loading…
Reference in a new issue