Commit graph

210 commits

Author SHA1 Message Date
a727d1bc19 fix: changed INT to FLOAT 2024-03-02 13:29:02 +01:00
e5614bbeab fix: updated the special scale factor 2024-03-02 13:24:01 +01:00
a19662cb4b Merge https://github.com/outfoxxed/hy3 into outfoxxed-master 2024-03-02 13:11:47 +01:00
outfoxxed
f5fc457d6b
Fix gaps config being read as an int (it is now a customtype)
Fixes breakage introduced in hyprland/ddf022d61c63fb36b4abba392682772690c06b5c
2024-02-22 18:09:50 -08:00
outfoxxed
cdb2c28df1
Migrate config to hyprlang 2024-02-14 22:33:07 -08:00
Arjun31415
449c9d67f8 Fix hy3 build
`m_bNoFocus` field moved to struct `m_sAdditionalConfigData`. Ref https://github.com/hyprwm/Hyprland/pull/4672
2024-02-14 08:29:11 +05:30
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
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
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
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
8774c0479a update: made it up to date with upstream 2024-01-03 05:25:59 +01:00
outfoxxed
2f28dc810c
Rewrite installation instructions
Add hyprpm, deprecate AUR, prioritize stable releases for Nix.
2024-01-01 20:57:46 -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
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
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
outfoxxed
352419bb9f
Fix missing breaks in swallowing switch
Swallow is still broken as windows will be captured by any other node
for some reason
2023-10-27 04:11:36 -07:00
outfoxxed
f796977543
Update code style 2023-10-27 04:08:07 -07:00
outfoxxed
1222764a7c
Add option to create a tab group for the first spawned window 2023-10-23 02:47:55 -07:00
outfoxxed
0862855b87
Fix tab bar not being updated with group changes
Closes #27
2023-10-23 02:31:38 -07:00
outfoxxed
07c98ab654
Fix build against hyprland #a61eb76 2023-10-22 20:25:14 -07:00
outfoxxed
2e3583343f
Merge remote-tracking branch 'andresilva/autotile-workspaces' 2023-09-29 23:17:14 -07:00
André Silva
a55ca43e21
autotile: pack fields into struct 2023-09-22 11:00:31 +01:00
André Silva
191f3f676c
autotile: rename autotiling functions 2023-09-22 10:52:50 +01:00