diff options
author | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2020-10-30 10:06:47 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2020-10-30 10:06:47 +0530 |
commit | e91a90472154b3b9d848e03e271045758bc238e6 (patch) | |
tree | 83911693cd86389a69d498e05a1c342d43f17459 | |
parent | 40dc59ccba82e011eaacb81906670ba807819526 (diff) |
changed how the status bar behaves
-rwxr-xr-x | awesome/rc.lua | 22 |
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") |