This repository has been archived by the owner on Jul 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathrc.lua
58 lines (47 loc) · 1.93 KB
/
rc.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
local beautiful = require("beautiful")
-- local awful = require("awful")
-- local gears = require("gears")
-- require("init")
-- Themes define colours, icons, font and wallpapers.
beautiful.init("~/.config/awesome/themes/win20_theme.lua")
-- require("layout.init")
require("layout-gnome")
-- require("ui.control-center")
require("module.notifications")
require("configuration.client")
require("configuration.root")
require("configuration.tags")
root.keys(require("configuration.keys.global"))
-- ░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀
-- ░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█
-- ░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀
require("module.auto-start")
require("module.brightness-osd")
-- require("module.dynamic-wallpaper")
require("module.exit-screen")
require("module.volume-osd")
-- require('module.menu')
-- require('menu.init')
-- ░█░█░█▀█░█░░░█░░░█▀█░█▀█░█▀█░█▀▀░█▀▄
-- ░█▄█░█▀█░█░░░█░░░█▀▀░█▀█░█▀▀░█▀▀░█▀▄
-- ░▀░▀░▀░▀░▀▀▀░▀▀▀░▀░░░▀░▀░▀░░░▀▀▀░▀░▀
-- 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
-- )