summaryrefslogtreecommitdiff
path: root/modules/home
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home')
-rw-r--r--modules/home/i3wm/nord-blue/dmenu.nix6
-rw-r--r--modules/home/i3wm/nord-blue/i3.nix3
2 files changed, 4 insertions, 5 deletions
diff --git a/modules/home/i3wm/nord-blue/dmenu.nix b/modules/home/i3wm/nord-blue/dmenu.nix
index c07952f..9e4652c 100644
--- a/modules/home/i3wm/nord-blue/dmenu.nix
+++ b/modules/home/i3wm/nord-blue/dmenu.nix
@@ -1,10 +1,10 @@
-{ pkgs, colors }: # <- accept the colors set as an argument
+{ pkgs, vars }: # <- accept the colors set as an argument
# Wrapper for dmenu that uses your color variables
pkgs.writeShellScriptBin "dmenu" ''
#!/usr/bin/env sh
exec ${pkgs.dmenu}/bin/dmenu_run \
-fn 'JetBrains Mono-12' \
- -nb '${colors.background}' -nf '${colors.foreground}' \
- -sb '${colors.accent}' -sf '${colors.text}'
+ -nb '${vars.colors.background}' -nf '${vars.colors.foreground}' \
+ -sb '${vars.colors.accent}' -sf '${vars.colors.text}'
''
diff --git a/modules/home/i3wm/nord-blue/i3.nix b/modules/home/i3wm/nord-blue/i3.nix
index 268da64..c32e205 100644
--- a/modules/home/i3wm/nord-blue/i3.nix
+++ b/modules/home/i3wm/nord-blue/i3.nix
@@ -3,7 +3,7 @@
let
vars = import ./variables.nix;
lock-screen = import ./i3lock.nix {inherit pkgs; };
- dmenu = import ./dmenu.nix {inherit pkgs; };
+ dmenu = import ./dmenu.nix {inherit pkgs vars; };
mod = "Mod4";
in
{
@@ -113,7 +113,6 @@ in
home.packages = with pkgs; [
dmenu # App launcher
i3lock # Lock screen
- scripts.lock-screen # Actual lock screen functionality
imagemagick # Handle wallpaper resizing for i3-lock
polybar # Status bar
alacritty # Terminal Emulator