blur swaylock background
This commit is contained in:
@@ -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`)
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user