From c7f5c6d05be2d133782a29ef0fc1ca5905377a38 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Tue, 16 May 2023 15:58:01 +0200 Subject: AwesomeWM rice --- .config/awesome/rc.lua | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to '.config/awesome/rc.lua') 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) -- }}} -- cgit v1.1