diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-26 18:21:26 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-26 18:21:26 +0530 |
| commit | ae21713f260fc1599c36c0e4cf572d24b0379ef4 (patch) | |
| tree | 6882a7b3d606e62d463e544e01e575c7a563a003 /modules/communication | |
| parent | 65e1ce5e82c0d272d91ca4213b0d27548768c2e7 (diff) | |
| download | home-manager-config-ae21713f260fc1599c36c0e4cf572d24b0379ef4.tar.gz home-manager-config-ae21713f260fc1599c36c0e4cf572d24b0379ef4.zip | |
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
Diffstat (limited to 'modules/communication')
| -rw-r--r-- | modules/communication/neomutt/default.nix | 19 |
1 files changed, 14 insertions, 5 deletions
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."; |
