Skip to content

Commit fe9ccfc

Browse files
authored
1.6, merge from dev
Merge pull request #34 from emvaized/dev
2 parents 55af71a + e204c95 commit fe9ccfc

19 files changed

+238
-62
lines changed

CHANGELOG

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
1.6
2+
- Wayland support for snap groups features and sorting windows by last activation time
3+
- New option "Remember window sizes, and restore it on un-snap" for windows snapped with the script
4+
- New snap group option "On move snapped window, try to fill the area"
5+
- New snap group option "Try to fit snapped window in group behind it"
6+
- If only one window is available, show it in center
7+
- Small bug fixes and improvements
8+
19
1.5
210
- Fixed unwanted assist show on Wayland
311
- Windows now will get unshaded after selecting from assist

README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,20 @@ You can select the window with mouse, as well as with arrow keys + `Enter`.
88
To dismiss the assist, hit `Escape` key, press the close button or click anywhere on the empty area.
99
Script also supports quarter and triple tiling: you can switch layouts with the `Tab` key or using the button in corner.
1010

11-
Since version `1.4`, there are now experimental options for *enhanced* snapped windows management:
12-
- Minimize/restore snapped windows together
13-
- Raise snapped windows together
14-
- On close snapped window, try to fill the area
11+
Ideas, suggestions, bugs reports and contributions to the project are welcome!
1512

16-
When you enable any of these options in settings, the script will start tracking windows snapped with the script. Group of snapped windows is remembered once you fill the layout using the assist. Window is no longer considered snapped once it was closed or moved manually using the mouse.
17-
Snap groups are not persistent, and likely will be needed to recreate on each reboot.
13+
![screenshot_snapassist](./assets/screenshot.png)
1814

19-
Ideas, suggestions, bugs reports and contributions to the project are welcome!
15+
---
16+
### Snap Groups
17+
18+
Since version `1.4`, there are also experimental *snap group* features:
19+
- Minimize/restore snapped windows together ([demo](./assets/demos/snap%20groups/minimize-together.gif))
20+
- Raise snapped windows together ([demo](./assets/demos/snap%20groups/raise-together.gif))
21+
- On close snapped window, try to fill the area ([demo](./assets/demos/snap%20groups/fill-on-close.gif))
22+
- Try to fit snapped window in group behind ([demo](./assets/demos/snap%20groups/fit-in-group-behind.gif))
2023

21-
![screenshot_snapassist](https://user-images.githubusercontent.com/37851576/183264649-da8d01cd-a8b7-4bac-92d7-ea71be00047d.png)
24+
When you enable any of these options in the script settings, it will start tracking windows snapped via the script. Group of snapped windows is remembered once you fill the layout using the assist. Window is no longer considered snapped once it was closed or moved manually using the mouse (sometimes you need to do it twice to break it from the group). Snap groups are not persistent, and should be recreated after each reboot.
2225

2326
---
2427
### Manual Installation
@@ -32,7 +35,7 @@ In order to install this script manually from GitHub, you'd need to:
3235
### Troubleshooting
3336
- To apply the new settings, you may need to re-enable the script or restart KWin. The same is recommended if you switch from one version of the script to another
3437
- Assist will not show if you have no other windows matching the conditions set in the script settings. For example, by default the script does not show windows from other screens — so, if you have only one window on the current screen, assist will not show
35-
- Script settings button is not visible, or complains that "Plugin doesn't provide configuration file in the expected location" — this is a known KWin's bug, not related to the script. Make sure your system is up-to-date, as it seems to be fixed now. If it doesn't help, you can also try to install the script [manually](https://github.com/emvaized/kde-snap-assist#manual-installation).
38+
- Script settings button is not visible, or complains that "Plugin doesn't provide configuration file in the expected location" — this is a known KWin's bug, not related to the script. Make sure your system is up-to-date, as it seems to be fixed now. If it doesn't help, you can also try to install the script [manually](https://github.com/emvaized/kde-snap-assist#manual-installation)
3639

3740
---
3841
### Compatibility notes

assets/demos/layouts/half.gif

1.6 MB
Loading

assets/demos/layouts/quarter.gif

3 MB
Loading
2.63 MB
Loading
2.75 MB
Loading
2.94 MB
Loading
2.58 MB
Loading
1.92 MB
Loading
3.34 MB
Loading

0 commit comments

Comments
 (0)