Minor customizations
This commit is contained in:
parent
e8b877e137
commit
c77d8f0d7c
|
@ -36,12 +36,15 @@ bindings.spawnf = spawnf
|
|||
conf.cmd.run = conf.cmd.run or spawnf("dmenu_run")
|
||||
|
||||
local function mpdserver(host)
|
||||
return function() mpd.set_server(host, "6600") end
|
||||
return function()
|
||||
mpd.set_server(host, "6600")
|
||||
awful.util.spawn("mpd-host set " .. host .. " 6600")
|
||||
end
|
||||
end
|
||||
|
||||
mpdhosts = {
|
||||
n = { func = mpdserver("nas.local"), desc = "NAS" },
|
||||
b = { func = mpdserver("berryhorst.local"), desc = "Berry" },
|
||||
n = { func = mpdserver("nas"), desc = "NAS" },
|
||||
b = { func = mpdserver("berryhorst"), desc = "Berry" },
|
||||
l = { func = mpdserver("127.0.0.1"), desc = "Local" }
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
local beautiful = require("beautiful")
|
||||
local wibox = require("wibox")
|
||||
local conf = conf
|
||||
local modkey = conf.modkey or "Mod4"
|
||||
local mb = require("modalbind")
|
||||
local awful = require("awful")
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
local awful = require("awful")
|
||||
local conf = conf
|
||||
local modkey = conf.modkey or "Mod4"
|
||||
|
||||
local layouts={ mt={} }
|
||||
local list = {
|
||||
|
|
2
tags.lua
2
tags.lua
|
@ -43,7 +43,7 @@ end
|
|||
local defaultsetup = {
|
||||
{"1:⚙"},
|
||||
{ name = "2:⌘", layout = layouts[5] },
|
||||
{ name = "3:☻", layout = layouts[3], mwfact = 0.20, ncol = 2, nmaster = 2},
|
||||
{ name = "3:☻", layout = layouts[3], mwfact = 0.20, ncol = 2, nmaster = 1},
|
||||
{ name = "4:✉", layout = layouts[5] },
|
||||
{"5:☑"},
|
||||
{"6:♫"},
|
||||
|
|
Loading…
Reference in a new issue