awesome/src/theme/init.lua
Hydroxycarbamide 093dec7f93 Initial commit
2022-08-27 21:35:40 +02:00

36 lines
1.5 KiB
Lua

--------------------------------------------------
-- ██████╗██████╗ ██╗ ██╗██╗ ██╗ █████╗ --
-- ██╔════╝██╔══██╗╚██╗ ██╔╝██║ ██║██╔══██╗ --
-- ██║ ██████╔╝ ╚████╔╝ ██║ ██║███████║ --
-- ██║ ██╔══██╗ ╚██╔╝ ██║ ██║██╔══██║ --
-- ╚██████╗██║ ██║ ██║ ███████╗██║██║ ██║ --
-- ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝╚═╝╚═╝ ╚═╝ --
--------------------------------------------------
local awful = require("awful")
local beautiful = require("beautiful")
local gears = require("gears")
Theme_path = awful.util.getdir("config") .. "/src/theme/"
Theme = {}
dofile(Theme_path .. "theme_variables.lua")
Theme.awesome_icon = Theme_path .. "../assets/icons/ArchLogo.png"
Theme.awesome_subicon = Theme_path .. "../assets/icons/ArchLogo.png"
-- Wallpaper
beautiful.wallpaper = user_vars.wallpaper
screen.connect_signal(
'request::wallpaper',
function(s)
if beautiful.wallpaper then
if type(beautiful.wallpaper) == 'string' then
gears.wallpaper.maximized(beautiful.wallpaper, s)
else
beautiful.wallpaper(s)
end
end
end
)
beautiful.init(Theme)