diff --git a/home-manager/modules/i3/default.nix b/home-manager/modules/i3/default.nix index d4c2515..5b9b062 100644 --- a/home-manager/modules/i3/default.nix +++ b/home-manager/modules/i3/default.nix @@ -6,7 +6,7 @@ with lib; let cfg = config.eboskma.programs.i3; mod = "Mod4"; - i3lockcmd = "i3lock --image ${toString ./wallpapers/jwst-southern-ring-nircam-miri-side-by-side-3840.png} --color=333333ff --tiling --ignore-empty-password --show-failed-attempts --screen=0 --clock --pass-volume-keys"; + i3lockcmd = "${pkgs.i3lock-color}/bin/i3lock-color --image ${toString ./wallpapers/river-3840.png} --color=333333ff --tiling --ignore-empty-password --show-failed-attempts --screen=0 --clock --pass-volume-keys"; rofiPower = pkgs.writeShellScriptBin "rofi-power" (builtins.readFile ./powermenu.sh); left = "n"; down = "e"; diff --git a/home-manager/modules/i3/powermenu.sh b/home-manager/modules/i3/powermenu.sh index 9299d4e..30f2789 100755 --- a/home-manager/modules/i3/powermenu.sh +++ b/home-manager/modules/i3/powermenu.sh @@ -18,7 +18,7 @@ exit_wm="" # Variable passed to rofi options="${shutdown}\n${reboot}\n${lock}\n${hibernate}\n${exit_wm}" uptime=$(uptime | awk '{print $1}' || true) -lockcmd="i3lock --ignore-empty-password --show-failed-attempts --clock --color=333333ff --screen=0 --pass-volume-keys --image /home/erwin/.wallpapers/river-3840.png --tiling" +lockcmd="i3lock-color --image /home/erwin/.wallpapers/river-3840.png --color=333333ff --tiling --ignore-empty-password --show-failed-attempts --screen=0 --clock --pass-volume-keys" chosen="$(echo -e "${options}" | rofi -theme power -p "Uptime: ${uptime}" -dmenu -selected-row 2)" diff --git a/users/erwin/work.nix b/users/erwin/work.nix index 7a65490..541ec95 100644 --- a/users/erwin/work.nix +++ b/users/erwin/work.nix @@ -88,6 +88,7 @@ in bitwarden blink1-tool bottom + cider fd ffmpeg_5-full git @@ -197,7 +198,7 @@ in windowManager.i3 = { enable = true; package = pkgs.i3-gaps; - extraPackages = with pkgs; [ i3lock-fancy ]; + extraPackages = with pkgs; [ i3lock-color ]; }; };