summaryrefslogtreecommitdiff
path: root/rc.lua
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2018-07-03 11:59:15 +0200
committerAnton Khirnov <anton@khirnov.net>2018-07-03 11:59:15 +0200
commitb01932a4468c983ac886f84c510cf092b093aa4d (patch)
treeca4dd54e24da37d093f40a8636c69f6c945a89a6 /rc.lua
parent0ca36d117aec3829ef5dfa6b65f9437d65fdc7e2 (diff)
rc: remove unused cruft
Diffstat (limited to 'rc.lua')
-rw-r--r--rc.lua36
1 files changed, 0 insertions, 36 deletions
diff --git a/rc.lua b/rc.lua
index 531b11a..e950bfd 100644
--- a/rc.lua
+++ b/rc.lua
@@ -75,41 +75,6 @@ mypromptbox = {}
mylayoutbox = {}
mytasklist = {}
-mytasklist.buttons = awful.util.table.join(
- awful.button({ }, 1, function (c)
- if c == client.focus then
- c.minimized = true
- else
- -- Without this, the following
- -- :isvisible() makes no sense
- c.minimized = false
- if not c:isvisible() then
- awful.tag.viewonly(c:tags()[1])
- end
- -- This will also un-minimize
- -- the client, if needed
- client.focus = c
- c:raise()
- end
- end),
- awful.button({ }, 3, function ()
- if instance then
- instance:hide()
- instance = nil
- else
- instance = awful.menu.clients({
- theme = { width = 250 }
- })
- end
- end),
- awful.button({ }, 4, function ()
- awful.client.focus.byidx(1)
- if client.focus then client.focus:raise() end
- end),
- awful.button({ }, 5, function ()
- awful.client.focus.byidx(-1)
- if client.focus then client.focus:raise() end
- end))
for s in screen do
-- Create a promptbox for each screen
@@ -124,7 +89,6 @@ for s in screen do
awful.button({ }, 5, function () awful.layout.inc(layouts, -1) end)))
-- Create a tasklist widget
- --mytasklist[s] = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, mytasklist.buttons, nil, nil, wibox.layout.fixed.vertical())
local pgr = pager.Pager:new(s, 128, 800)
pgr:set_desktop(workspace.desktops[1])
mytasklist[s] = pgr