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