aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/home/i3wm/nord-blue/i3.nix2
-rw-r--r--modules/home/i3wm/nord-blue/scripts.nix4
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