I3

From NixOS Wiki
Revision as of 22:19, 20 April 2018 by imported>Symphorien (Created page with "{{Expansion|there are a lot more [https://nixos.org/nixos/options.html#i3 options]}} [https://i3wm.org/ i3] is a tiling window manager for X. == Enabling == To use i3 set <co...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

i3 is a tiling window manager for X.

Enabling

To use i3 set service.xserver.windowManager.i2.enable to true. For example:

/etc/nixos/configuration.nix
{ config, pkgs, callPackage, ... }: {
  ...
  services.xserver = {
    enable = true;
    desktopManager = {
      default = "none";
      xterm.enable = false;
    };
    windowManager.i3.enable = true;
  };
  ...
}

With a desktop manager

i3 is a window manager and does not provide "cosmetic" services like managing multiple monitor configuration or media keys. This is what is usually delegated to a desktop manager. To use xfce as a desktop manager on top of i3, see Xfce#Using_as_a_desktop_manager_and_not_a_window_manager.

Wallpaper

If ~/.background-image exists then it will be displayed as a wallpaper. Options services.xserver.desktopManager.wallpaper.combineScreens and .mode control exactly how it is displayed.