Update various stuff

This commit is contained in:
Alexander Gehrke 2021-07-12 11:44:13 +02:00
parent 8d61745f9c
commit ae4c7f06c5
5 changed files with 39 additions and 41 deletions

View file

@ -23,17 +23,21 @@ conf.mpd = {
}
-- 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"
conf.cmd = {
terminal = "terminal" -- Mod-Enter
-- used by some mappings, parameter to terminal for executing a specific program
terminal_exec = "-e"
-- used by some mappings, parameter to terminal for setting the wm class
terminal_wmclass = "--class"
browser = "webbrowser" -- Mod-c f
irc_client = "irc-client" -- Mod-c I
mail_client = "mail-client" -- Mod-c m
mpd_client = "gmpc" -- Mod-m g
editor = {
terminal = conf.cmd.terminal_exec .. " vim"
gui = "gvim"
}
}
-- Mod-r binding for running programs
conf.cmd.run = function() awful.util.spawn("dmenu_run -l 10 -y 350") end