diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-05-16 15:58:01 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-05-16 15:58:01 +0200 |
commit | c7f5c6d05be2d133782a29ef0fc1ca5905377a38 (patch) | |
tree | 3102d2c72bc0b1f6b11497bff577d82d92888d53 /.config/awesome/rc.lua | |
parent | 4dcb3df54dd2cd8672654a8e15a1034ec35d8b9f (diff) |
AwesomeWM rice
Diffstat (limited to '.config/awesome/rc.lua')
-rw-r--r-- | .config/awesome/rc.lua | 27 |
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) -- }}} |