-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.lua
49 lines (47 loc) · 1.35 KB
/
config.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
local awful = require 'awful'
local gears = require 'gears'
local xresources = require 'beautiful.xresources'
local dpi = xresources.apply_dpi
local terminal = 'wezterm'
local editor = os.getenv 'EDITOR' or 'nano'
local editor_cmd = terminal .. ' -e ' .. editor
local icon_theme = 'Papirus-Dark'
local icon_path = '/usr/share/icons/' .. icon_theme .. '/32x32/'
return {
terminal = terminal,
editor = editor,
editor_cmd = editor_cmd,
modkey = 'Mod4',
wallpaper = '/usr/share/backgrounds/archlinux/awesome.png',
icon_dirs = {
icon_path .. 'apps/',
icon_path .. 'actions/',
icon_path .. 'devices/',
icon_path .. 'status/',
},
icon_path = icon_path,
icon_theme = icon_theme,
icon_formats = { 'svg', 'png' },
shape = function(cr, w, h)
gears.shape.rounded_rect(cr, w, h, dpi(8))
end,
fs_shape = gears.shape.rectangle,
layouts = {
-- awful.layout.suit.floating,
awful.layout.suit.spiral,
awful.layout.suit.tile,
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.dwindle,
-- awful.layout.suit.max,
-- awful.layout.suit.max.fullscreen,
-- awful.layout.suit.magnifier,
-- awful.layout.suit.corner.nw,
-- awful.layout.suit.corner.ne,
-- awful.layout.suit.corner.sw,
-- awful.layout.suit.corner.se,
},
}