Commit graph

289 commits

Author SHA1 Message Date
Theo Paris
00ec55f0ae
fix: screw xwayland 2024-03-03 23:01:49 -08:00
Kaley Fischer
da6d7c8e37
Merge pull request #6 from outfoxxed/master
sync with upstream
2024-03-02 18:01:23 +01:00
outfoxxed
a726135c86
Run clang-format 2024-03-02 05:18:59 -08:00
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
7a83a8961d pull: made uptodate with upstream 2024-03-02 13:12:03 +01:00
a19662cb4b Merge https://github.com/outfoxxed/hy3 into outfoxxed-master 2024-03-02 13:11:47 +01:00
Kaley Fischer
2a793bcfcd
Merge pull request #4 from Trensa-Organization/revert-2-master
Revert 2 master
2024-03-02 12:30:35 +01:00
github-usr-name
f306ecc689 Fix node navigation breakage 2024-03-02 10:33:49 +00:00
github-usr-name
cae91835af Fix detection of pinned windows on other monitors 2024-03-02 10:33:49 +00:00
github-usr-name
e9b22b0722 Fix assumption [that source window is focused] in getWindowInDirection 2024-02-26 07:29:35 +00:00
github-usr-name
3841f2382f Address PR issues 2024-02-24 12:32:25 +00:00
Pete Appleton
82f6283a8f Refactor distance calculation 2024-02-24 07:24:17 +00:00
Pete Appleton
946076d380 Fix compilation failure against hyprland trunk 2024-02-24 07:24:17 +00:00
Pete Appleton
1255b2f508 Update configuration to hyprlang 2024-02-24 07:24:17 +00:00
Pete Appleton
f3dd53d76a Implement focus_obscured_windows_policy logic 2024-02-24 07:24:17 +00:00
Pete Appleton
19f3cb0b11 Add config field definitions 2024-02-24 07:24:17 +00:00
Pete Appleton
bca5a9dbd2 Fix: Only look for nodes on neighbor monitor in correct direction
Use last-focused-window when navigating to monitor by direction if it has same relative position as the logically closest window
2024-02-24 07:24:17 +00:00
Pete Appleton
0e9077ec3d Integrate floating windows into hy3:movefocus
Move floating window if focused, even if tiled windows on same workspace

Navigate based on window middle

Feels unintuitive in use when floating overlaid on tiled

Fix: Set new monitor active when moving floating windows, remember previous workspace
2024-02-24 07:24:17 +00:00
Pete Appleton
cc65dabe32 Add hy3:resizenode dispatcher 2024-02-24 07:24:17 +00:00
outfoxxed
029a200136
Make sure debug info is kept for flake build 2024-02-22 18:11:12 -08: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
1a4847456b
Update lockfile 2024-02-18 14:17:58 -08:00
outfoxxed
cdb2c28df1
Migrate config to hyprlang 2024-02-14 22:33:07 -08:00
outfoxxed
f231373aee
Merge remote-tracking branch 'appleton/fix/spelling' 2024-02-14 04:23:47 -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
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
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