aboutsummaryrefslogtreecommitdiff
path: root/awesome/rc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'awesome/rc.lua')
-rwxr-xr-xawesome/rc.lua22
1 files changed, 18 insertions, 4 deletions
diff --git a/awesome/rc.lua b/awesome/rc.lua
index fbcd59c3..b9630364 100755
--- a/awesome/rc.lua
+++ b/awesome/rc.lua
@@ -209,10 +209,16 @@ awful.screen.connect_for_each_screen(function(s)
-- Create a tasklist widget
s.mytasklist = awful.widget.tasklist {
screen = s,
- filter = awful.widget.tasklist.filter.currenttags,
+ filter = awful.widget.tasklist.filter.minimizedcurrenttags,
buttons = tasklist_buttons
}
+ s.showcurrenttag = awful.widget.tasklist {
+ screen = s,
+ filter = awful.widget.tasklist.filter.focused,
+ buttons = tasklist_buttons
+ }
+
-- Create the wibox
s.mywibox = awful.wibar({ position = "bottom", screen = s })
@@ -226,9 +232,17 @@ awful.screen.connect_for_each_screen(function(s)
s.mytaglist,
s.mypromptbox,
},
- s.mytasklist, -- Middle widget
+ { -- Middle widgets
+ layout = wibox.layout.flex.horizontal,
+ s.showcurrenttag,
+ },
+-- { -- minimized tasks
+-- layout = wibox.layout.fixed.horizontal,
+-- s.mytasklist,
+-- },
{ -- Right widgets
- layout = wibox.layout.fixed.horizontal,
+ layout = wibox.layout.align.horizontal,
+ s.mytasklist,
mykeyboardlayout,
mytextclock,
s.mylayoutbox,
@@ -613,4 +627,4 @@ client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_n
-- autostarts
awful.spawn.with_shell("nitrogen --restore")
awful.spawn.with_shell("picom")
--- awful.spawn.with_shell("firefox")
+--awful.spawn.with_shell("firefox")