Update swaylock
This commit is contained in:
parent
8a33fff1ba
commit
78d273337f
|
@ -2,14 +2,16 @@
|
||||||
let nathan = config.nathan;
|
let nathan = config.nathan;
|
||||||
in with lib; {
|
in with lib; {
|
||||||
config = mkIf nathan.programs.swaywm.enable (let
|
config = mkIf nathan.programs.swaywm.enable (let
|
||||||
|
swaylock-package =
|
||||||
|
inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.swaylock-effects;
|
||||||
swaylock-command = ''
|
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;
|
layman-package = inputs.self.packages.${pkgs.system}.layman;
|
||||||
in {
|
in {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# Locking and display management
|
# Locking and display management
|
||||||
wdisplays
|
wdisplays
|
||||||
swaylock-effects
|
swaylock-package
|
||||||
swayidle
|
swayidle
|
||||||
# Clipboard
|
# Clipboard
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
|
Loading…
Reference in New Issue