Commit graph

364 commits

Author SHA1 Message Date
Pete Appleton
d1d722826c Correct typo in README.md 2024-02-10 08:28:43 +00:00
outfoxxed
6bbb807178
Merge latest changes into resize-by-keyboard 2024-02-07 03:55:31 -08:00
outfoxxed
7f1989689d
Fix starting with a horizontal layout on vertical monitors 2024-02-06 14:36:11 -08:00
outfoxxed
107cb86304
Update to hyprland 0.35.0 2024-02-06 13:56:26 -08:00
outfoxxed
d3e20856a9
Update flake reference to hyprland 0.35.0 2024-02-06 13:40:44 -08:00
q234rty
acedb05a75
Fix building on Hyprland 0.35.0
Ref https://github.com/hyprwm/Hyprland/pull/4514
2024-02-06 15:54:31 +08:00
Pete Appleton
f58720ba83 Fix: Only constrain node resize if they are at the root of the layout 2024-01-31 08:50:40 +00:00
Pete Appleton
cfa15c9ef6 Use MIN_RATIO to cap node sizes
A minimum Vector2D would be ideal, but hard to calculate - it would require
either a tree walk for every single resize operation (very expensive),
or storing after a `recalcSizePosRecursive` operation (significant work)
2024-01-29 21:09:04 +00:00
Pete Appleton
dad1589d21 Improve iteration handling and validate results 2024-01-29 08:50:07 +00:00
Pete Appleton
f3e8d2ff9a Fix resize breakage with expanded nodes 2024-01-28 23:36:24 +00:00
Pete Appleton
5820adc5c1 Move changelog entries to upcoming section 2024-01-22 08:09:57 +00:00
Pete Appleton
6185efd847 Comment-out unused code instead of masking with preprocessor 2024-01-22 07:56:14 +00:00
Pete Appleton
5ca59bf723 Implement resizeActiveWindow fully 2024-01-21 09:48:37 +00:00
Pete Appleton
f150886e63 Avoid GCC build warnings
- Add `default` to switch statements to ensure that a defined value is returned from non-void functions
- Add `HY3_ENABLE_UNUSED_BLOCKS` option (default: `FALSE`) which controls a `#if` pre-processor
  directive surrounding the apparently unused `unfullscreen` label (and associated block)
  in `Hy3Layout.cpp`
2024-01-20 11:51:43 +00:00
Santos
e113973f76
Force reload config after plugin is loaded 2024-01-19 13:18:49 +01:00
outfoxxed
d247317a38
Add changelog 2024-01-14 02:51:52 -08:00
outfoxxed
7c643fa66e
Fix killactive and movetoworkspace not working in fullscreen 2024-01-14 02:43:37 -08:00
outfoxxed
783c7ae0cf
Add hy3:movetoworkspace, which moves a node to a workspace 2024-01-14 02:31:06 -08:00
outfoxxed
06ecd58399
Move newly tiled windows into place in the window's workspace
Usually the window workspace differs from the monitor workspace when
moving a window to a background workspace.
Previously onWindowCreatedTiling acted on the monitor active workspace
which caused windows to always appear at the end of the outermost node
on the target workspace. Now they appear relative to the last selected node.
2024-01-12 03:14:31 -08:00
outfoxxed
66ef532537
Update clang_tools in nix flake to clang 17
Fixes some of the issues with clangd but does not fix the missing <format>
2024-01-12 03:13:32 -08:00
8c4df162de fix: added my credits 2024-01-04 10:35:44 +01:00
8774c0479a update: made it up to date with upstream 2024-01-03 05:25:59 +01:00
4c5fb30e76 Update: added a makefile 2024-01-03 03:50:01 +01:00
outfoxxed
9a1111efba
Add note in readme to make sure hyprpm is running 2024-01-01 21:31:07 -08:00
outfoxxed
c0a24c9dc1
Update flake lock and hyprpm.toml for 0.34.0 2024-01-01 21:03:21 -08:00
outfoxxed
2f28dc810c
Rewrite installation instructions
Add hyprpm, deprecate AUR, prioritize stable releases for Nix.
2024-01-01 20:57:46 -08:00
outfoxxed
a92314b57a
Merge pull request #54 from Olekoop/master
Add option to center window title
2023-12-31 04:50:00 -08:00
df59286237 fix: removed a unneeded error popup 2023-12-28 22:06:52 +01:00
63e6a793dd fix: fixed some broken stuff 2023-12-28 16:32:49 +01:00
Kaley Fischer
d15c25a855
Merge pull request #1 from outfoxxed/master
new updates
2023-12-27 18:29:22 +01:00
Olekoop
78a423075c Add option to center window title 2023-12-16 17:38:02 +01:00
outfoxxed
a5626177b6
Merge pull request #52 from eriedaberrie/master
Fix over-correction of borders that are now window decorations
2023-12-10 17:27:30 -08:00
eriedaberrie
fdb23665b9 Fix over-correction of borders that are now window decorations 2023-12-10 17:20:43 -08:00
outfoxxed
4830a2cf3c
Fix tab rounding on non 1.0 dpi values 2023-12-10 17:00:35 -08:00
outfoxxed
102e652fe9
Fix tab bars not rendering on non 1.0 dpi values
Closes #48
2023-12-10 16:54:35 -08:00
outfoxxed
b341fe60a7
Fix crash when moving focus of a node containing multiple windows 2023-12-10 01:02:23 -08:00
outfoxxed
f71ac37565
Use hyprland algorithm to find floating window to focus in direction 2023-12-06 02:58:03 -08:00
outfoxxed
c727ad11e3
Add floating window support to hy3:movefocus 2023-12-06 02:55:12 -08:00
outfoxxed
6a89b574c7
Fix getNextWindowCandidate not considering fullscreen or floating windows 2023-12-06 01:43:34 -08:00
outfoxxed
92244e7285
Add hyprland version compatibility check 2023-12-05 00:48:26 -08:00
outfoxxed
35e66dd10a
Update tracked hyprland version 2023-12-05 00:30:54 -08:00
da91c54ef4 pull: Added some good pull requests 2023-12-02 12:52:00 +01:00
outfoxxed
4db9b1f37a
Fix pixel gaps with recent CBox changes 2023-11-08 02:01:06 -08:00
outfoxxed
47cb4a9930
Update flake to target hyprland 0.32.0 2023-11-08 00:57:12 -08:00
Arjun31415
575b616c1e use Hyprland internal CBox instead of wlr_box 2023-11-05 12:48:01 +05:30
outfoxxed
f4081531bd
Recalculate root node when recalculateMonitor is called
Fixes bars being overlaid on windows and mismatched fullscreen sizes.
2023-11-04 03:22:14 -07:00
outfoxxed
6cf58b9c3d
Fix debugnodes 2023-11-04 03:00:22 -07:00
outfoxxed
91c94d6e49
Fix incorrect tab bar width
Tab bar width was incorrectly calculated.
2023-11-04 02:58:55 -07:00
Robin Gloster
2b53cca052
changegroup, opposite: untab
Matches behaviour of sway's `layout toggle split`. Fixes my muscle
memory issues.
2023-11-02 23:58:17 -07:00
outfoxxed
c1718d38bc
Fix longstanding fullscreen issues
Fullscreen was implemented via recalculating window bounds
with a fake node when you pressed fullscreen. The check has been moved
into `recalcSizePosRecursive` which causes the override to fire every
time a window's size is recalculated instead of only the first time.

Closes #34, #39
2023-11-02 12:10:33 -07:00