Awesome: Difference between revisions
Appearance
imported>B1ackshadow Created page with "[https://awesomewm.org/ awesome] is a highly configurable, next generation framework window manager for X. It is very fast, extensible and licensed under the GNU GPLv2 licens..." |
Phanirithvij (talk | contribs) m examples from old wiki |
||
(7 intermediate revisions by 6 users not shown) | |||
Line 3: | Line 3: | ||
== Enabling == | == Enabling == | ||
To enable awesomeWM set <code>services.xserver.windowManager. | To enable awesomeWM set <code>services.xserver.windowManager.awesome.enable</code> to <code>true</code>. For example: | ||
{{file|/etc/nixos/configuration.nix|nix| | {{file|/etc/nixos/configuration.nix|nix| | ||
Line 11: | Line 11: | ||
... | ... | ||
services.displayManager = { | |||
sddm.enable = true; | |||
defaultSession = "none+awesome"; | |||
}; | |||
services.xserver = { | services.xserver = { | ||
enable = true; | enable = true; | ||
windowManager.awesome = { | windowManager.awesome = { | ||
enable = true; | enable = true; | ||
luaModules = with pkgs.luaPackages; [ | luaModules = with pkgs.luaPackages; [ | ||
# add any lua packages required by your configuration here | |||
luarocks # is the package manager for Lua modules | luarocks # is the package manager for Lua modules | ||
luadbi-mysql # Database abstraction layer | luadbi-mysql # Database abstraction layer | ||
]; | ]; | ||
}; | }; | ||
}; | }; | ||
Line 35: | Line 34: | ||
}} | }} | ||
Similar configuration using | Similar configuration using [[Home Manager]]. | ||
Reference: https://github.com/rycee/home-manager/blob/master/modules/services/window-managers/awesome.nix#blob-path | Reference: https://github.com/rycee/home-manager/blob/master/modules/services/window-managers/awesome.nix#blob-path | ||
Line 50: | Line 49: | ||
* [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: | [[Category:Window managers]] | ||
[[Category:Applications]] |
Latest revision as of 03:57, 13 March 2025
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.displayManager = {
sddm.enable = true;
defaultSession = "none+awesome";
};
services.xserver = {
enable = true;
windowManager.awesome = {
enable = true;
luaModules = with pkgs.luaPackages; [
# add any lua packages required by your configuration here
luarocks # is the package manager for Lua modules
luadbi-mysql # Database abstraction layer
];
};
};
...
}
Similar configuration using Home Manager.
🟆︎
Tip:
Awesome provides a default config file rc.lua which is generated at
/run/current-system/sw/etc/xdg/awesome/rc.lua
. Copy the file to ~/.config/awesome/
and make changes.