From ae21713f260fc1599c36c0e4cf572d24b0379ef4 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sun, 26 Jul 2026 18:21:26 +0530 Subject: feat: hyprland keybindings, neomutt refactoring - Fixed the keybinding to resize the windows to 50% and 100% (Super + =) - Left Click + Drag on mouse to move windows - Right Click + Drag on mouse to resize --- modules/communication/neomutt/default.nix | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'modules/communication') diff --git a/modules/communication/neomutt/default.nix b/modules/communication/neomutt/default.nix index 70f286b..4bd1800 100644 --- a/modules/communication/neomutt/default.nix +++ b/modules/communication/neomutt/default.nix @@ -22,15 +22,24 @@ type = lib.types.package; default = pkgs.symlinkJoin { name = "neomutt-wrapped"; - paths = with pkgs; [ - neomutt - urlscan - ]; + paths = [ pkgs.neomutt ]; + nativeBuildInputs = [ pkgs.makeWrapper ]; + postBuild = '' + wrapProgram $out/bin/neomutt \ + --prefix PATH : ${lib.makeBinPath [ pkgs.urlscan ]} + ''; + meta.mainProgram = "neomutt"; }; defaultText = lib.literalExpression '' pkgs.symlinkJoin { name = "neomutt-wrapped"; - paths = with pkgs; [ neomutt urlscan ]; + paths = [ pkgs.neomutt ]; + nativeBuildInputs = [ pkgs.makeWrapper ]; + postBuild = ''' + wrapProgram $out/bin/neomutt \ + --prefix PATH : ''${lib.makeBinPath [ pkgs.urlscan ]} + '''; + meta.mainProgram = "neomutt"; } ''; description = "The neomutt package to use, wrapped with urlscan in PATH."; -- cgit v1.2.3