1
0
Fork 0
Browse Source

[nix] Run the thinkpad-unlocker upon unlocking the screen

main
Sebastian Schulze 5 months ago
parent
commit
65a65c752c
Failed to generate hash of commit
  1. 1
      dot_config/nixpkgs/home.nix

1
dot_config/nixpkgs/home.nix

@ -387,6 +387,7 @@ in @@ -387,6 +387,7 @@ in
Service = {
ExecStart = '' ${pkgs.swayidle}/bin/swayidle -w -d \
before-sleep '${config.home.homeDirectory}/bin/blur-lock' \
unlock '${config.home.homeDirectory}/bin/thinkpad-dock' \
timeout 300 '${config.home.homeDirectory}/bin/blur-lock' \
timeout 600 '${pkgs.sway}/bin/swaymsg "output * dpms off"' \
resume '${pkgs.sway}/bin/swaymsg "output * dpms on"'

Loading…
Cancel
Save