Releases: aravinda0/qtile-bonsai
Releases · aravinda0/qtile-bonsai
v0.4.0
Features & Improvements
- New layout options
window.single.margin
andwindow.single.border_size
allow specifying margin, border for single windows under top-level tabs. (#10) - New widget option
sync_with
onBonsaiBar
to control which (screen's)Bonsai
layout state is rendered on the widget. (#9) - New layout option
tab_bar.hide_L1_when_bonsai_bar_on_screen
makes multi-screen setups smoother.- The L1 (top level) tab bar can be hidden away if there is a
BonsaiBar
widget available on a screen, and the bar would be shown if there was not a widget present. - This also makes the
BonsaiBar
widget usage simpler - we no longer need to configureL1.tab_bar.hide_when = "always"
on our layout to explicitly hide away the L1 bar.
- The L1 (top level) tab bar can be hidden away if there is a
Fixes
- Fullscreening windows should work properly now. (#11)
- Fix a typo that was causing the BonsaiBar widget to not clean up properly on reload/restart
- Fixed an obscure bug where in some rare cases, killing a background window would not focus the correct MRU window.
v0.3.0
Features & Improvements
- The
BonsaiBar
widget now supportstab.width = "auto"
just like theBonsai
layout'stab_bar.tab.width
. Tabs will fit to take up as much available space as possible. (#8) - The
BonsaiBar
widget'slength
config now supports the special valuesbar.CALCULATED
andbar.STRETCH
like other qtile widgets. - Tabs in both the
Bonsai
layout and theBonsaiBar
widget can now be configured with 4-sided values for margin and padding. Values can be provided in the usual [top, right, bottom, left] sequence.
Fixes
- Window-title changes are now correctly handled for updating tab titles. Previously it didn't used to trigger a re-render until you switched focus to a different window. (#7)
Miscellaneous
- You can now install the package from the AUR with your favorite AUR-helper. For example:
yay -S qtile-bonsai
v0.2.0
Breaking Changes
- The
tab_bar.tab.min_width
has been dropped in favor oftab_bar.tab.width
which can take an integer or the value"auto"
. (#3)- So tabs can either be of fixed width or have an automatic flex-width based on available space. Check the docs for more details.
Features & Improvements
- A new interaction mode called
container-select-mode
is now available that lets you visually select parents/containers of windows and invoke split/tab operations over larger areas.- A new section has been added in the visual guide to demonstrate this.
- Check the commands docs for details on the 3 new commands added for this mode.
- A new
BonsaiBar
widget is available for use on the qtile bar. It can act as a replacement for theBonsai
layout's built-in tab-bar for the outermost/top-level tabs. It also has an indicator for whenbranch-select-mode
is active. (#5)- A new documentation section has been added for it.
- Two new commands -
focus_nth_tab()
,focus_nth_window()
- are now available that allow faster access to tabs/windows via keybindings. They provide params that allow contextual nth selections.- Two new sections have been added in the visual guide to demonstrate them.
- Check the commands docs for details.
- There is now basic mouse support - clicking on individual tabs on tab-bars will activate the corresponding tab. (#4)
- When there are no windows open yet, and
spawn_split()
is invoked, it now conveniently creates the first window. Previously you had to start things off with aspawn_tab()
. - A new config option
tab_bar.tab.title_provider
is available that lets you control the title on tabs via a callback function.- For example, you could configure it to have the title of the focused window under the tab. Check the docs for the signature and a sample implementation.
Miscellaneous
- The default colors for borders and tab background/foregrounds have been tweaked to be a little more vivid.