blur swaylock background

This commit is contained in:
2025-02-05 18:30:58 -05:00
parent ad8059b30c
commit b5ae17bf36
4 changed files with 35 additions and 4 deletions

View File

@@ -37,7 +37,7 @@
(defwidget window-title []
(label
:text "${windowtitle == "" ? "" : "[[${windowtitle}]]"}"))
:text "${windowtitle == "" ? "" : "(${windowtitle})"}"))
(defpoll windowtitle :interval "1s" `scripts/currentWindow.fish`)
(defpoll currentworkspace :interval "1s" `scripts/currentWorkspace.fish`)

View File

@@ -1,4 +1,7 @@
{ pkgs, ... }:
let
blur = pkgs.callPackage ../util/blur.nix;
in
{
programs.swaylock = {
enable = true;
@@ -32,6 +35,8 @@
text-caps-lock-color = "f5a97f";
text-ver-color = "8aadf4";
text-wrong-color = "ee99a0";
# image = builtins.toString ../wallpaper_blurred.png;
image = "${(blur { src = ../wallpaper.png; })}/output.png";
};
};
}