Wrap hyprlock

This commit is contained in:
SebastianStork 2024-05-10 15:42:28 +02:00
parent 08dae72f8d
commit e7fbcb4a49
5 changed files with 28 additions and 105 deletions

25
wrappers/hyprlock.nix Normal file
View file

@ -0,0 +1,25 @@
{
assembleWrapper,
pkgs,
...
}:
assembleWrapper {
basePackage = pkgs.hyprlock;
flags = let
hyprlock-config = pkgs.writeText "hyprlock-config" ''
background {
monitor =
path = screenshot
blur_size = 4
blur_passes = 1
}
input-field {
monitor =
}
'';
in [
"--config"
hyprlock-config
];
}