Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Commit

Permalink
bump to 1.0.1, finished up fixing some issues with popups as far as t…
Browse files Browse the repository at this point in the history
…hey can be fixed on wayland
  • Loading branch information
zeroxoneafour committed Mar 21, 2023
1 parent 801c311 commit 76afe08
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NAME = autotile
VERSION = 1.0.0
VERSION = 1.0.1

PKGFILE = $(NAME).kwinscript
PKGDIR = pkg
Expand Down
Binary file modified autotile.kwinscript
Binary file not shown.
3 changes: 1 addition & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Autotiling for KWin using heavy inspiration from [kwin-tiling-scripts](https://invent.kde.org/mart/kwin-tiling-scripts).

## features
* Works in Wayland Plasma 5.27 and up. On X11, please use bismuth.
* Works in Wayland Plasma 5.27 and up. On X11, please use Bismuth.
* Manage layouts via the integrated KWin GUI
* Send your windows to other virtual desktops while tiled
* Move your windows around, and automatically untile/retile them when moving (doesn't work unless tile you are moving into can be binary split)
Expand All @@ -12,7 +12,6 @@ Autotiling for KWin using heavy inspiration from [kwin-tiling-scripts](https://i
## limitations/bugs
* Requires binary-split tiles (if your tiles were put in a tree, they would be a binary tree). If you don't know what this means, you're probably fine but don't use layouts that split in 3
* More than 1 window in a single tile will cause untested and most likely undesireable behavior
* Does not work at all in Xorg (but Bismuth does so try using that instead)
* While the author does not test on multiple screens, others have reported that it works perfectly fine.

## contributing
Expand Down
4 changes: 2 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ function doTileClient(client) {
if ((client.popupWindow || client.transient) && !tilePopups) {
return false;
}
// check if client is normal, with exception for popups and transients
if (!(client.normalWindow || client.popupWindow || client.transient)) {
// check if client is a dock or something
if (client.specialWindow) {
return false;
}
let c = client.resourceClass.toString();
Expand Down

0 comments on commit 76afe08

Please sign in to comment.