exemple d'utilisation de la variable d'environement pour awesome
This commit is contained in:
@@ -51,6 +51,12 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Export the current path for the awesome derivation, useful for users rc.lua
|
# 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}";
|
environment.variables.AWESOME_CONFIG_DIR = "${pkgs.awesome}";
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
|
|||||||
Reference in New Issue
Block a user