AwesomeWM: Add christmas market wallpaper

This commit is contained in:
GHOSCHT 2024-12-01 15:21:56 +01:00
parent 60fd73e044
commit 16f352e90d
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82
3 changed files with 84 additions and 80 deletions

View file

@ -173,7 +173,11 @@ local function set_wallpaper(s)
if type(wallpaper) == "function" then if type(wallpaper) == "function" then
wallpaper = wallpaper(s) wallpaper = wallpaper(s)
end end
gears.wallpaper.centered(wallpaper, s) if s.index == screen.primary.index then
gears.wallpaper.centered(wallpaper, s, gears.color.parse_color("#00ff00ff"), 0.43)
else
gears.wallpaper.centered(wallpaper, s, gears.color.parse_color("#00ff00ff"), 0.31)
end
end end
end end

View file

@ -17,7 +17,7 @@ local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
local theme = {} local theme = {}
theme.dir = os.getenv("HOME") .. "/.config/awesome/" theme.dir = os.getenv("HOME") .. "/.config/awesome/"
theme.wallpaper_dir = os.getenv("HOME") .. "/.wallpapers/" theme.wallpaper_dir = os.getenv("HOME") .. "/.wallpapers/"
theme.wallpaper = theme.wallpaper_dir .. "/cyberpunk-ship-dock.jpg" theme.wallpaper = theme.wallpaper_dir .. "/rolltreppe-glühwein.jpg"
theme.font = "JetBrainsMono Nerd Font 9" theme.font = "JetBrainsMono Nerd Font 9"
theme.fg_normal = colors.text theme.fg_normal = colors.text
theme.fg_focus = colors.teal theme.fg_focus = colors.teal

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 MiB