refactor(sway): rework wallpapers integration
This commit is contained in:
parent
61685e8253
commit
674d531d32
5 changed files with 28 additions and 8 deletions
|
@ -1,11 +1,14 @@
|
|||
{ config, lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.desktop.sway;
|
||||
in
|
||||
{
|
||||
config = mkIf config.modules.desktop.sway.enable {
|
||||
programs.swaylock = {
|
||||
enable = true;
|
||||
settings = {
|
||||
image = "~/medias/images/wallpapers/lockscreen.png";
|
||||
image = "${cfg.wallpapers.lockscreen}";
|
||||
scaling = "center";
|
||||
color = "000000";
|
||||
indicator-radius = 70;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue