Compare commits
2 Commits
6737421e58
...
ad0bd083a1
Author | SHA1 | Date | |
---|---|---|---|
ad0bd083a1 | |||
111502579f |
10
rc.lua
10
rc.lua
@ -99,8 +99,10 @@ awful.layout.layouts = {
|
|||||||
|
|
||||||
function restart()
|
function restart()
|
||||||
for k,v in pairs(zombies) do
|
for k,v in pairs(zombies) do
|
||||||
|
if type(v) == "number" then
|
||||||
awful.spawn.easy_async(string.format("kill %d",v))
|
awful.spawn.easy_async(string.format("kill %d",v))
|
||||||
end
|
end
|
||||||
|
end
|
||||||
awesome.restart()
|
awesome.restart()
|
||||||
end
|
end
|
||||||
-- {{{ Menu
|
-- {{{ Menu
|
||||||
@ -259,13 +261,15 @@ awful.screen.connect_for_each_screen(function(s)
|
|||||||
else -- portrait
|
else -- portrait
|
||||||
awful.tag(tags, s, awful.layout.suit.fair.horizontal)
|
awful.tag(tags, s, awful.layout.suit.fair.horizontal)
|
||||||
end
|
end
|
||||||
--[[
|
|
||||||
awful.tag.attached_connect_signal(nil, "tagged", function(tag)
|
awful.tag.attached_connect_signal(nil, "tagged", function(tag)
|
||||||
for _,c in pairs(tag:clients()) do
|
for _,c in pairs(tag:clients()) do
|
||||||
c.titlebars_enabled = tag.layout == awful.layout.suit.floating
|
if tag.layout == awful.layout.suit.floating then
|
||||||
|
awful.titlebar.show(c)
|
||||||
|
else
|
||||||
|
awful.titlebar.hide(c)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
]]
|
|
||||||
|
|
||||||
-- Create a promptbox for each screen
|
-- Create a promptbox for each screen
|
||||||
s.mypromptbox = awful.widget.prompt()
|
s.mypromptbox = awful.widget.prompt()
|
||||||
|
Loading…
Reference in New Issue
Block a user