swaylock: fix cache miss
This commit is contained in:
parent
1a4fd19596
commit
5a5b544caa
|
@ -9,7 +9,7 @@ in
|
|||
options.my.swaylock.enable = lib.mkEnableOption { };
|
||||
|
||||
config.programs.swaylock.settings = lib.mkIf cfg.enable {
|
||||
image = toString theme.background;
|
||||
image = theme.backgroundPath;
|
||||
font = font.interface;
|
||||
font-size = font.size.medium;
|
||||
indicator-thickness = 20;
|
||||
|
|
|
@ -28,6 +28,7 @@ let
|
|||
cursor_theme = "Bibata-Modern-Classic";
|
||||
|
||||
background = ./backgrounds/nixos-dark-pattern.png;
|
||||
backgroundPath = "~/.local/share/backgrounds/nixos-dark-pattern.png";
|
||||
opacity = 95;
|
||||
opacityHex = "ee";
|
||||
color = {
|
||||
|
@ -59,6 +60,7 @@ let
|
|||
cursor_theme = "Bibata-Modern-Classic";
|
||||
|
||||
background = ./backgrounds/nixos-light-pattern.png;
|
||||
backgroundPath = "~/.local/share/backgrounds/nixos-light-pattern.png";
|
||||
opacity = 95;
|
||||
opacityHex = "ee";
|
||||
color = {
|
||||
|
|
Loading…
Reference in a new issue