-
Notifications
You must be signed in to change notification settings - Fork 1
/
localconf.lua.template
41 lines (34 loc) · 1.13 KB
/
localconf.lua.template
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
local conf = {}
local awful = awful
-- modkey to use for most bindings
conf.modkey = "Mod4"
-- screen number, on which rules will put clients by default
conf.screen = {
main = 1,
mail = 2,
chat = 3,
}
-- default layout for tags
conf.default_layout = awful.layout.suit.fair
conf.mpd = {
-- should mpd prompt clear playlist before adding matched songs
replace_on_search = true,
-- default host and port. for further hosts, see bindings.lua
host = "localhost",
port = "6600"
}
-- default programs (for keybindings)
conf.cmd = {}
conf.cmd.terminal = "terminal" -- Mod-Enter
conf.cmd.terminal_exec = "terminal -e" -- used by some mappings
conf.cmd.browser = "webbrowser" -- Mod-c f
conf.cmd.im_client = "im-client" -- Mod-c i
conf.cmd.irc_client = "irc-client" -- Mod-c I
conf.cmd.mail_client = "mail-client" -- Mod-c m
conf.cmd.mpd_client = "gmpc" -- Mod-m g
conf.cmd.editor = {}
conf.cmd.editor.terminal = conf.cmd.terminal_exec .. " vim"
conf.cmd.editor.gui = "gvim"
-- Mod-r binding for running programs
conf.cmd.run = function() awful.util.spawn("dmenu_run -l 10 -y 350") end
return conf