Commit graph

302 commits

Author SHA1 Message Date
8f3dd6016d Merge https://github.com/outfoxxed/hy3 into outfoxxed-master 2024-03-06 19:34:57 +01:00
outfoxxed
890443f504
Remove patches for tabs with hyprland#4992 2024-03-06 03:17:08 -08:00
Santos
c192ea3017
Force reload config after plugin is loaded 2024-03-06 02:21:31 -08:00
outfoxxed
a392bfd13c
Fix breakage after hyprland#4911 2024-03-06 02:07:47 -08:00
outfoxxed
ca20df2f17
Fix changelog 2024-03-05 03:17:59 -08:00
outfoxxed
bff967850e
Bump hyprpm for hl0.36.0 2024-03-05 03:15:16 -08:00
outfoxxed
c880e0f009
Improve build process and nix scripts 2024-03-05 03:13:50 -08:00
outfoxxed
3924816ba2
Update flake to hyprland 0.36.0 2024-03-05 01:58:34 -08:00
Kaley Fischer
7e6a8fc6a0
Merge pull request #8 from Dridus/rmm/special-workspace-support
Rmm/special workspace support
2024-03-05 08:45:09 +01:00
Kaley Fischer
d48d1bfb31
Merge pull request #7 from sant0s12/patch-1
Force reload config after plugin is loaded
2024-03-05 08:07:27 +01:00
Kaley Fischer
8ff8847824
Update README.md 2024-03-04 08:00:27 +01: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
Ross MacLeod
70f77fd224 Hy3Layout::applyNodeDataToWindow: when looking for the monitor associated with a node's workspace, allow for a special workspace which isn't yet emplaced on a monitor but is still set 2024-02-19 00:58:33 -05:00
Ross MacLeod
782f32e83d check m_pLastMonitor->specialWorkspaceID before checking activeWorkspace 2024-02-19 00:20:59 -05: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