XMonad: Difference between revisions

From NixOS Wiki
imported>Flexagoon
No edit summary
imported>Flexagoon
No edit summary
Line 8: Line 8:
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
services.xserver.windowManager.xmonad.enable = true;
services.xserver.windowManager.xmonad.enable = true;
</nowiki>}}
You also have to put the following in your <code>home.nix</code> to generate the default config
{{file|~/.config/nixpkgs/home.nix|nix|<nowiki>
xsession.windowManager.xmonad.enable = true;
</nowiki>}}
</nowiki>}}



Revision as of 05:57, 26 June 2021

xmonad is a tiling window manager for X. Windows are arranged automatically to tile the screen without gaps or overlap, maximizing screen use. Window manager features are accessible from the keyboard: a mouse is optional.

xmonad is written, configured and extensible in Haskell. Custom layout algorithms, key bindings and other extensions may be written by the user in configuration files.

Layouts are applied dynamically, and different layouts may be used on each workspace. Xinerama is fully supported, allowing windows to be tiled on several physical screens.

Installation

/etc/nixos/configuration.nix
services.xserver.windowManager.xmonad.enable = true;

You also have to put the following in your home.nix to generate the default config

~/.config/nixpkgs/home.nix
xsession.windowManager.xmonad.enable = true;

Configuration

Configuring XMonad with IDE support

To edit XMonad configuration with IDE support, see https://www.srid.ca/xmonad-conf-ide.html