This repository has been archived on 2024-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
home-manager/programs/sway/swaylock/swaylockfx.nix
Evie Litherland-Smith 8e7bc3aeaf Make custom swaylock wrapper own derivation
Hopefully fix issues with swayidle not being able to find wrapped
script by passing derivation directly
2024-05-21 07:02:06 +01:00

7 lines
173 B
Nix

{
writeShellScriptBin,
swaylock-effects,
...
}:
writeShellScriptBin "swaylockfx" "${swaylock-effects}/bin/swaylock --screenshots --clock --indicator --grace-no-mouse"