mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51:34 +01:00
Wrap hyprlock
This commit is contained in:
parent
08dae72f8d
commit
e7fbcb4a49
5 changed files with 28 additions and 105 deletions
25
wrappers/hyprlock.nix
Normal file
25
wrappers/hyprlock.nix
Normal 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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue