A new Petronia release!
- Added "resizable" flag for applications.
- Applications can set a "resizable" flag (defaults to on), to specify
whether the matching window should be resized to fit into the
portal. Before, the matching window would have to be excluded from
tiling control in order to not be resized. - Updated "no_border_config" and "border_config" to use the flag.
- Applications can set a "resizable" flag (defaults to on), to specify
- Added "snap" option to portals.
- Windows that do not fully fit within a portal are now "snapped" into
a relative position within the portal. By default (and the original
behavior), the window snaps to the top-left corner of a portal. Now
it can be positioned relative to any corner or side. - Updated "no_border_config" and "border_config" to use the flag.
- Windows that do not fully fit within a portal are now "snapped" into
- detect-monitors command now supports different output formats.
- Run with "-f (format)" to output in a different format.
- Supported formats are:
yaml
,json
, andpy
. - Format now defaults to
yaml
instead of python.
- Added user extensions directory support.
- You can either use the
%PETRONIA_USER_DIR%
environment variable, or
the-e
command-line argument, to specify where Petronia should look
for user extensions. This allows for adding in components to your
configuration.
- You can either use the
- Changed how you specify the layout argument at the command line.
- It used to be that the layout name was the optional second argument. Now,
you must specify it with the-l
or--layout
argument. - The check-layout command is unchanged.
- Command-line parsing for cmd and main now use argparse to grant the
ability to have more complex arguments. Unfortunately, this lead to
the backwards incompatibility with the layout name.
- It used to be that the layout name was the optional second argument. Now,
- Documentation improvements.
- Cleaning up to better reflect the current version.
- Bug fixes.
- Fix portal chrome from staying on top of overlay windows.
- Improved portal chrome to not have the annoying white border in
Windows 8. (#6) - Portal chrome windows no longer shows up on the task bar.
- Correctly associated portals to their aliases. This information wasn't
being passed to the portal factory before. - Hide the "KeyboardInterrupt" exception from users when running the
detect-keys command, because this is an expected action.