2021-11-29 19:57:00 +11:00

82 lines
3.3 KiB
Lua

-- ░█▀▀░█░░░█▀█░█▀█░█▀█░█░█
-- ░█▀▀░█░░░█░█░█▀▀░█▀▀░░█░
-- ░▀░░░▀▀▀░▀▀▀░▀░░░▀░░░░▀░
-- Banner generated using `toilet -f pagga AwesomeWM"
local gears = require('gears')
local beautiful = require('beautiful')
local awful = require('awful')
require('awful.autofocus')
-- ░█▀▀░█░█░█▀▀░█░░░█░░
-- ░▀▀█░█▀█░█▀▀░█░░░█░░
-- ░▀▀▀░▀░▀░▀▀▀░▀▀▀░▀▀▀
awful.util.shell = 'sh'
-- ░▀█▀░█░█░█▀▀░█▄█░█▀▀
-- ░░█░░█▀█░█▀▀░█░█░█▀▀
-- ░░▀░░▀░▀░▀▀▀░▀░▀░▀▀▀
beautiful.init(require('theme'))
-- ░█░░░█▀█░█░█░█▀█░█░█░▀█▀
-- ░█░░░█▀█░░█░░█░█░█░█░░█░
-- ░▀▀▀░▀░▀░░▀░░▀▀▀░▀▀▀░░▀░
require('layout')
-- ░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀░█░█░█▀▄░█▀█░▀█▀░▀█▀░█▀█░█▀█░█▀▀
-- ░█░░░█░█░█░█░█▀▀░░█░░█░█░█░█░█▀▄░█▀█░░█░░░█░░█░█░█░█░▀▀█
-- ░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀░▀░░▀░░▀▀▀░▀▀▀░▀░▀░▀▀▀
require('configuration.client')
require('configuration.root')
require('configuration.tags')
root.keys(require('configuration.keys.global'))
-- ░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀
-- ░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█
-- ░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀
require('module.notifications')
require('module.auto-start')
require('module.exit-screen')
require('module.quake-terminal')
require('module.menu')
require('module.titlebar')
require('module.brightness-osd')
require('module.volume-osd')
require('module.lockscreen')
--require('module.dynamic-wallpaper')
-- ░█░█░█▀█░█░░░█░░░█▀█░█▀█░█▀█░█▀▀░█▀▄
-- ░█▄█░█▀█░█░░░█░░░█▀▀░█▀█░█▀▀░█▀▀░█▀▄
-- ░▀░▀░▀░▀░▀▀▀░▀▀▀░▀░░░▀░▀░▀░░░▀▀▀░▀░▀
-- screen.connect_signal(
-- 'request::wallpaper',
-- function(s)
-- -- If wallpaper is a function, call it with the screen
-- if beautiful.wallpaper then
-- if type(beautiful.wallpaper) == 'string' then
-- -- Check if beautiful.wallpaper is color/image
-- if beautiful.wallpaper:sub(1, #'#') == '#' then
-- -- If beautiful.wallpaper is color
-- gears.wallpaper.set(beautiful.wallpaper)
-- elseif beautiful.wallpaper:sub(1, #'/') == '/' then
-- -- If beautiful.wallpaper is path/image
-- gears.wallpaper.maximized(beautiful.wallpaper, s)
-- end
-- else
-- beautiful.wallpaper(s)
-- end
-- end
-- end
-- )
--
-- #autostart apps
awful.spawn.with_shell('changebg')