diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-02-05 13:15:27 +0100 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-02-05 13:15:27 +0100 |
| commit | 8462e046284cea81c96467b050033ae94027d9f7 (patch) | |
| tree | 7dfb64bfd5b245020aea0de9717a6eddd6769208 | |
| parent | b50a2f514c23106a68ec541e8c1682583c7f344b (diff) | |
fixed lock screen
| -rw-r--r-- | modules/home/i3wm/nord-blue/i3.nix | 2 | ||||
| -rw-r--r-- | modules/home/i3wm/nord-blue/scripts.nix | 4 |
2 files changed, 3 insertions, 3 deletions
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 |
