Update swaylock
This commit is contained in:
parent
8a33fff1ba
commit
78d273337f
|
@ -2,14 +2,16 @@
|
|||
let nathan = config.nathan;
|
||||
in with lib; {
|
||||
config = mkIf nathan.programs.swaywm.enable (let
|
||||
swaylock-package =
|
||||
inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.swaylock-effects;
|
||||
swaylock-command = ''
|
||||
${pkgs.swaylock-effects}/bin/swaylock --screenshots --grace 30 --indicator --clock --timestr "%-I:%M:%S %p" --datestr "%A %Y-%M-%d" --effect-blur 20x3'';
|
||||
${swaylock-package}/bin/swaylock --screenshots --grace 30 --indicator --clock --timestr "%-I:%M:%S %p" --datestr "%A %Y-%M-%d" --effect-blur 20x3'';
|
||||
layman-package = inputs.self.packages.${pkgs.system}.layman;
|
||||
in {
|
||||
home.packages = with pkgs; [
|
||||
# Locking and display management
|
||||
wdisplays
|
||||
swaylock-effects
|
||||
swaylock-package
|
||||
swayidle
|
||||
# Clipboard
|
||||
wl-clipboard
|
||||
|
|
Loading…
Reference in New Issue