-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig_example.lua
More file actions
126 lines (102 loc) · 2.9 KB
/
config_example.lua
File metadata and controls
126 lines (102 loc) · 2.9 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
---@type DotfileConfiguration
local config = {
decorations = {
titlebar = {
pos = "left",
},
-- titlebars are randomly assigned one of these colors.
-- borders follow suit
colors = {
"#1BE7FF", -- neon blue
"#6CC551", -- lighter green
"#FF4365", -- light red
-- "#F1EDEE", -- white
"#FE5F55", -- salmon
"#ed9c55", -- pastel orange
},
},
-- Border widths
border = {
floating_width = 4,
tiled_width = 4,
},
-- Taskbar configuration
taskbar = {
-- Background of the top/left bars
bg = "#00000000",
-- Background of the widgets on these bars
widget_bg = "#66666666",
-- Borders on the clock / tag indicator
border_width = 4,
-- Margin from the edge of the screen to widgets in the taskbar
gap = 1,
-- Height of the top bar
top = 30,
-- Width of the left bar
left = 30,
},
-- Colors for tag indicators / screen preview
tag = {
focus = "#66f",
empty = "#666",
occupied = "#fff",
urgent = "#f66"
},
-- Colors for popups
popup = {
bg = "#66666688",
fg = "#ffffff",
},
-- Colors for progressbars and sliders
progressbar = {
bg = "#666",
fg = "#fff",
},
-- Colors for button elements and some other elements too (I'm lazy!)
button = {
normal = "#00000088",
hover = "#ffffff66",
active = "#ffffff88"
},
-- Gap between tiled windows
gap = 5,
-- Font to use in the user interface
font = "Inter",
-- User-configured apps
apps = {
terminal = "xterm",
editor = os.getenv("EDITOR") or "vim",
file_manager = "thunar",
compositor = nil,
rofi = 'rofi -modi run -show run -show-icons'
},
-- How long notifications stay around in the top middle of the screen
notification_lifespan = 4,
-- Gimmicky features that can be enabled/disabled as you see fit for your system
gimmicks = {
gestures = true,
pywal = true,
global_menu = true,
screen_preview = true
},
-- time to lock the screen in minutes
-- set to zero to disable locking
lock_time = 10,
-- string|{ list: string[]|table<string of type "h:mm", string>, time: number|string|nil }
-- list: array or table indexed by hour and minute
-- time: string (parsed to number) or number (number of hours per wallpaper change) or nil
wallpaper = {
list = "~/.config/wallpaper.jpg",
}
}
-- gimmicks have to be explicitly set to false
for _, gimmick in ipairs({
"gestures",
"pywal",
"global_menu",
"screen_preview"
}) do
local enabled = config.gimmicks[gimmick]
config.gimmicks[gimmick] = enabled ~= false
end
return config