Reduce wrapper file count

This commit is contained in:
SebastianStork 2024-05-23 12:02:15 +02:00
parent 058d1b38a3
commit a290812085
8 changed files with 56 additions and 41 deletions

26
wrappers/hyprlock.nix Normal file
View file

@ -0,0 +1,26 @@
{ assembleWrapper, moduleArgs, ... }:
let
inherit (moduleArgs) pkgs;
in
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
];
}