From ba9cdb75186342e0b2c43b524f7ba769ec154f0a Mon Sep 17 00:00:00 2001 From: Yves Dubromelle Date: Sat, 16 Jul 2016 13:40:13 +0200 Subject: [PATCH] exemple d'utilisation de la variable d'environement pour awesome --- desktop.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/desktop.nix b/desktop.nix index f7bbf96..8a1a7e3 100644 --- a/desktop.nix +++ b/desktop.nix @@ -51,6 +51,12 @@ }; # Export the current path for the awesome derivation, useful for users rc.lua + # Example usage in rc.lua : + # + # config = {} + # config.dir = os.getenv("AWESOME_CONFIG_DIR") + # beautiful.init(config.dir .. "/share/awesome//themes/zenburn/theme.lua") + # environment.variables.AWESOME_CONFIG_DIR = "${pkgs.awesome}"; # Enable the X11 windowing system.