aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome/rc.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/awesome/rc.lua')
-rw-r--r--.config/awesome/rc.lua27
1 files changed, 14 insertions, 13 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index de5131f..66e4eec 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -110,10 +110,10 @@ local tasklist_buttons = gears.table.join(
awful.menu.client_list({ theme = { width = 250 } })
end),
awful.button({ }, 4, function ()
- awful.client.focus.byidx(1)
+ awful.client.focus.byidx(-1)
end),
awful.button({ }, 5, function ()
- awful.client.focus.byidx(-1)
+ awful.client.focus.byidx( 1)
end))
local tags = charitable.create_tags(
@@ -157,26 +157,27 @@ awful.screen.connect_for_each_screen(function(s)
source = function(screen, args) return tags end,
}
- -- Create a tasklist widget
- s.mytasklist = awful.widget.tasklist {
- screen = s,
- filter = awful.widget.tasklist.filter.currenttags,
- buttons = tasklist_buttons
- }
+ -- Create a tasklist widget
+ s.mytasklist = awful.widget.tasklist {
+ screen = s,
+ filter = awful.widget.tasklist.filter.currenttags,
+ buttons = tasklist_buttons,
+ }
- -- Create the wibox
- s.mywibox = awful.wibar({ position = "bottom", screen = s })
+ -- Create the wibox
+ s.mytaskbar = awful.wibar({ position = "bottom", screen = s })
-- Add widgets to the wibox
- s.mywibox:setup {
- layout = wibox.layout.align.horizontal,
+ s.mytaskbar:setup {
+ layout = wibox.layout.align.horizontal,
+ spacing = 16,
{
layout = wibox.layout.fixed.horizontal,
spacing = 16,
s.mylayoutbox,
s.mytaglist,
- s.mytasklist,
},
+ s.mytasklist,
}
end)
-- }}}