Mango
Appearance
Mango is a lightweight, modern Wayland compositor based on dwl. Mango provides features like animations, IPC, different layouts and visual effects.
Installation
If you don't want to configure mango using nix, you can just add mango to your systemPackages:
❄︎ /etc/nixos/configuration.nix
environment.systemPackages = with pkgs; [
mango
];
If you would like to configure mango declaratively using nix and home-manager, you should install the official flake. Add it to your inputs:
❄︎ flake.nix
inputs = {
nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.zst";
mango = {
url = "github:mangowm/mango";
inputs.nixpkgs.follows = "nixpkgs";
};
};
Configuration
After adding the new input, mango can be configured using Home Manager:
❄︎ home.nix
{ config, pkgs, inputs, ... }:
{
imports = [
inputs.mango.hmModules.mango
];
wayland.windowManager.mango= {
enable = true;
settings = {
animations = 0;
bordercolor="0x595959aa";
bind = [
"SUPER,r,reload_config"
"SUPER,space,spawn,fuzzel"
"SUPER,Return,spawn,foot"
];
};
};
}
Extra documentation can be found on the official website.