aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/awesome/rc.lua27
-rw-r--r--.config/awesome/theme.lua16
2 files changed, 29 insertions, 14 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)
-- }}}
diff --git a/.config/awesome/theme.lua b/.config/awesome/theme.lua
index e7a8fe7..61bec2c 100644
--- a/.config/awesome/theme.lua
+++ b/.config/awesome/theme.lua
@@ -23,12 +23,20 @@ theme.fg_focus = theme.fg_normal
theme.fg_urgent = theme.fg_normal
theme.fg_minimize = theme.fg_normal
-theme.useless_gap = dpi(4)
theme.border_width = dpi(2)
theme.border_normal = "#4b5165"
theme.border_focus = "#5294e2"
theme.border_marked = "#91231c"
+theme.taglist_spacing = dpi(4)
+theme.taglist_bg_occupied = "#4b5165"
+
+theme.tasklist_bg_normal = "#4b5165"
+theme.tasklist_spacing = dpi(4)
+
+theme.useless_gap = dpi(4)
+theme.maximized_honor_padding = true
+
-- There are other variable sets
-- overriding the default one when
-- defined, the sets are:
@@ -56,6 +64,12 @@ theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel(
-- notification_[bg|fg]
-- notification_[width|height|margin]
-- notification_[border_color|border_width|shape|opacity]
+theme.notification_border_color = "#4b5165"
+theme.notification_border_width = dpi(2)
+theme.notification_icon_size = dpi(64)
+theme.notification_margin = dpi(4)
+theme.notification_max_height = dpi(72)
+theme.notification_max_width = dpi(640)
-- Variables set for theming the menu:
-- menu_[bg|fg]_[normal|focus]