Awesome: Difference between revisions

From NixOS Wiki
imported>B1ackshadow
No edit summary
imported>Artturin
m add to window managers
Line 50: Line 50:
* [https://awesomewm.org/apidoc/documentation/05-awesomerc.md.html#3 Default configuration file documentation]
* [https://awesomewm.org/apidoc/documentation/05-awesomerc.md.html#3 Default configuration file documentation]


[[Category:Guide]]
[[Category:Window managers]]

Revision as of 03:12, 19 November 2020

awesome is a highly configurable, next generation framework window manager for X. It is very fast, extensible and licensed under the GNU GPLv2 license.

Enabling

To enable awesomeWM set services.xserver.windowManager.awesome.enable to true. For example:

/etc/nixos/configuration.nix
{ config, pkgs, ... }: 


  ...
  services.xserver = {
    enable = true;

  
    displayManager = {
        sddm.enable = true;
        defaultSession = "none+awesome";
    };

    windowManager.awesome = {
      enable = true;
      luaModules = with pkgs.luaPackages; [
        luarocks # is the package manager for Lua modules
        luadbi-mysql # Database abstraction layer
      ];

    };
  };
  ...
}

Similar configuration using home-manager

Reference: https://github.com/rycee/home-manager/blob/master/modules/services/window-managers/awesome.nix#blob-path


References