From fbc78a03c37d69e3d0444f98f13d9c8177a0ceaf Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Wed, 1 Mar 2023 13:23:41 -0800 Subject: [PATCH] i3: remove dmenu --- hosts/desktop.nix | 6 +++++- modules/i3/default.nix | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/hosts/desktop.nix b/hosts/desktop.nix index 4a6926d..41a3b7e 100644 --- a/hosts/desktop.nix +++ b/hosts/desktop.nix @@ -19,7 +19,11 @@ in }; defaultSession = "none+i3"; }; - windowManager.i3.enable = true; + windowManager.i3 = { + enable = true; + # Don't install dmenu, i3status, and i3lock + extraPackages = lib.mkOverride 0 []; + }; }; udev.packages = [ pkgs.yubikey-personalization ]; pcscd.enable = true; diff --git a/modules/i3/default.nix b/modules/i3/default.nix index 30b8b86..dafb535 100644 --- a/modules/i3/default.nix +++ b/modules/i3/default.nix @@ -93,6 +93,9 @@ in with theme.colors; { # Screenshots "Print" = "exec flameshot gui"; + + # Remove dmenu + "${mod}+d" = "nop"; }; keycodebindings = { "133" = "--release exec rofi -show drun -theme";