1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2026-03-23 05:55:12 +00:00

(feat) support using env var MY_WALLPAPER to set wallpaper

This commit is contained in:
Crescent617 2023-07-16 22:55:47 +08:00
parent b3f8b5b152
commit d1c2a6de7b

View file

@ -16,7 +16,7 @@ local os = os
local theme = {}
theme.confdir = os.getenv "HOME" .. "/.config/awesome/themes/multicolor"
theme.wallpaper = string.format("%s/Pictures/1308322.jpeg", os.getenv "HOME")
theme.wallpaper = os.getenv "MY_WALLPAPER" or theme.confdir .. "/wall.png"
theme.font = "Monospace 11"
-- Menu