mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-26 19:58:35 +02:00
widgets: don't minimize using the task list
I have ever used that only by mistake.
This commit is contained in:
parent
a1df343f93
commit
26599c5961
1 changed files with 8 additions and 12 deletions
|
@ -244,18 +244,14 @@ local taglist = {}
|
||||||
local tasklist = {}
|
local tasklist = {}
|
||||||
tasklist.buttons = awful.util.table.join(
|
tasklist.buttons = awful.util.table.join(
|
||||||
awful.button({ }, 1, function (c)
|
awful.button({ }, 1, function (c)
|
||||||
if c == client.focus then
|
if not c:isvisible() then
|
||||||
c.minimized = true
|
awful.tag.viewonly(c:tags()[1])
|
||||||
else
|
end
|
||||||
if not c:isvisible() then
|
-- This will also un-minimize
|
||||||
awful.tag.viewonly(c:tags()[1])
|
-- the client, if needed
|
||||||
end
|
client.focus = c
|
||||||
-- This will also un-minimize
|
c:raise()
|
||||||
-- the client, if needed
|
end))
|
||||||
client.focus = c
|
|
||||||
c:raise()
|
|
||||||
end
|
|
||||||
end))
|
|
||||||
|
|
||||||
for s = 1, screen.count() do
|
for s = 1, screen.count() do
|
||||||
promptbox[s] = awful.widget.prompt({ layout = awful.widget.layout.horizontal.leftright })
|
promptbox[s] = awful.widget.prompt({ layout = awful.widget.layout.horizontal.leftright })
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue