This repository has been archived by the owner on Jan 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
user.lua
169 lines (128 loc) · 4.34 KB
/
user.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
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
local awful = require('awful')
local home = os.getenv('HOME') .. '/'
local _U = {}
---------------------------------------------
-- Functionality
---------------------------------------------
_U.modkey = "Mod4" -- Windows/Super key
_U.modkey2 = "Mod1" -- Alt key
---------------------------------------------
-- Signals
---------------------------------------------
-- Turn on/off signals
_U.bluetooth_enabled = true
_U.battery_enabled = true
---------------------------------------------
-- Desktop Icons
---------------------------------------------
-- Use desktop icons if enabled
-- WARNING: this only works with the floating layout, it will break everything else
-- requires Nemo as your file manager, plus some setup regarding Nemo: learn more about it on
-- https://star.is-a.dev/blog/icons
_U.desktop_icon = false
---------------------------------------------
-- Apps
---------------------------------------------
-- Terminal and terminal command for scratchpads
_U.terminal = "st"
_U.term_cmd = "st -c "
-- GUI Apps
_U.browser = os.getenv("BROWSER") or "firefox"
_U.editor = os.getenv("EDITOR") or "nvim"
_U.files = "nemo"
_U.chatapp = "discord"
-- CLI apps
_U.files_cli = "ranger"
---------------------------------------------
-- Music
---------------------------------------------
-- Turn on/off music related decorations and signals
_U.music_enabled = true
-- Music player to send play/pause/toggle signals to
_U.music_player = "spotify"
---------------------------------------------
-- Awesome related
---------------------------------------------
_U.layouts = {
awful.layout.suit.tile,
-- awful.layout.suit.spiral.dwindle,
awful.layout.suit.max,
-- awful.layout.suit.floating,
-- awful.layout.suit.tile.left,
-- awful.layout.suit.tile.bottom,
-- awful.layout.suit.tile.top,
-- awful.layout.suit.fair,
-- awful.layout.suit.fair.horizontal,
-- awful.layout.suit.spiral,
-- awful.layout.suit.max.fullscreen,
-- awful.layout.suit.magnifier,
-- awful.layout.suit.corner.nw,
}
_U.tags = { '1', '2', '3', '4' }
---------------------------------------------
-- Titlebars
---------------------------------------------
-- Toggle titlebars on/off
_U.titlebar = false
-- Position of titlebar
_U.titlebar_pos = "top"
-- Toggle visibility of titlebar icons
_U.titlebar_icons = true
---------------------------------------------
-- Bar
---------------------------------------------
-- Type of bar:
-- horizontal, vertical
_U.bar_type = "horizontal"
-- Position of the bar:
-- bottom, top, left, right
_U.bar_pos = "top"
---------------------------------------------
-- Dock
---------------------------------------------
-- Toggle the dock on/off
_U.dock_enabled = false
---------------------------------------------
-- Notifications
---------------------------------------------
-- Position of notifications
_U.notification_pos = "top_right"
---------------------------------------------
-- Borders and gaps
---------------------------------------------
-- Border width
-- If titlebars are off, this will use the color of your accent color,
-- else it will use bg colors
_U.border = 0
-- Spacing between UI elements
_U.spacing = 8
-- Inner and outer gaps
_U.inner_gaps = 3
_U.outer_gaps = 8
---------------------------------------------
-- Color and themes
---------------------------------------------
-- Available colorschemes:
-- biscuit, sakura, oxocarbon, camellia, adwaita, latte, fullerene, stardew, solarized
_U.colorscheme = "camellia"
-- Dictates color of homeicon, active tag, active border, etc.
-- Available accent colors:
-- white, red, orange, yellow, green, cyan, lightblue, blue, magenta, purple
-- defaults to "white" if nil
_U.accent = "red"
-- Available icons:
-- cookie, cookie_small, moon, star, awm
_U.icon = "cookie_small"
-- Font config
-- the little space is for declaring a custom font size
_U.font = "IBM Plex Sans" .. " "
_U.font_mono = "IBM Plex Mono" .. " "
_U.fontsize = "14"
-- Path to your icon theme
_U.icon_theme = home .. ".icons/Colloid"
-- Image related
_U.avatar = home .. 'Pictures/Anime/gojo/9f14e7384844b59079d5f053a3af0d93.jpg'
-- _U.wallpaper = home .. 'Wallpapers/solarized-dusk.png'
_U.screenshotdir = home .. 'Pictures/Screenshots/'
_U.username = os.getenv("USER")
return _U