From 6b994976d6d6ef820e6c1bbde439f6e6e20c546d Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Fri, 4 Aug 2023 12:44:45 +0200 Subject: [PATCH] Use i3-lock-fancy-rapid and move dependencies where they are needed --- home/i3.nix | 5 ++++- home/programs.nix | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/home/i3.nix b/home/i3.nix index 188cc2d..4d0ab89 100644 --- a/home/i3.nix +++ b/home/i3.nix @@ -27,6 +27,9 @@ let mode_system = "System: L :  | S :  | P :  | R :  | E : "; in { + home.packages = with pkgs; [ + i3lock-fancy-rapid + ]; xsession.windowManager.i3 = { enable = true; # package = pkgs.i3-gaps; @@ -125,7 +128,7 @@ in { "${mod}+r" = "mode \"resize\""; "${mod}+x" = "mode \"${mode_system}\""; - "${mod}+Shift+x" = "exec i3lock-fancy -n"; + "${mod}+Shift+x" = "exec i3lock-fancy-rapid 5 3"; }; modes = { diff --git a/home/programs.nix b/home/programs.nix index 395f2fb..1bb7105 100644 --- a/home/programs.nix +++ b/home/programs.nix @@ -5,8 +5,6 @@ gnumake pkg-config - i3lock-fancy - antigen nodejs fortune