From 8462e046284cea81c96467b050033ae94027d9f7 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Thu, 5 Feb 2026 13:15:27 +0100 Subject: fixed lock screen --- modules/home/i3wm/nord-blue/i3.nix | 2 +- modules/home/i3wm/nord-blue/scripts.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/home/i3wm/nord-blue/i3.nix b/modules/home/i3wm/nord-blue/i3.nix index f004e9b..67507f6 100644 --- a/modules/home/i3wm/nord-blue/i3.nix +++ b/modules/home/i3wm/nord-blue/i3.nix @@ -26,7 +26,7 @@ in "${mod}+Return" = "exec ${pkgs.alacritty}/bin/alacritty"; # Lanuch alacritty as a terminal "${mod}+m" = "exec ${pkgs.dmenu}/bin/dmenu"; # Launch dmenu (app launcher) "${mod}+q" = "kill"; # Close an app (kill the process) - "${mod}+Alt+l" = "exec sh -c 'lock-screen ${vars.wallpaper}'"; # Lock screen + "${mod}+Alt+l" = "exec ''sh -c 'lock-screen'''"; # Lock screen "${mod}+Shift+r" = "restart"; "${mod}+Ctrl+Shift+e" = "exec sh -c 'i3-msg exit'"; diff --git a/modules/home/i3wm/nord-blue/scripts.nix b/modules/home/i3wm/nord-blue/scripts.nix index 7dbfd19..4c263a1 100644 --- a/modules/home/i3wm/nord-blue/scripts.nix +++ b/modules/home/i3wm/nord-blue/scripts.nix @@ -5,7 +5,7 @@ #!/usr/bin/env sh set -eu - WALL="${1:-$HOME/Pictures/wallpaper.jpg}" + WALL="${1:-$HOME/Pictures/wallpaper.png}" TMP="/tmp/lockscreen.png" # Get current resolution (single-monitor friendly) @@ -20,5 +20,5 @@ i3lock -i "$TMP" - '') + ''); } \ No newline at end of file -- cgit v1.2.3