Commit graph

224 commits

Author SHA1 Message Date
Šimon Brandner
11fcce5780
Damage the whole node when animating slide
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2024-06-09 17:01:32 +02:00
Šimon Brandner
968cadf663
Damage bar when animating workspace slide
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2024-06-04 09:24:42 +02:00
Šimon Brandner
445381f871
Damage tab bar each tick to avoid defects
This solution is hacky and needs to be improved

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2024-06-01 20:02:48 +02:00
outfoxxed
400930e039
fixup: fix breakage after cursor rewrite 2024-05-19 01:48:12 -07:00
outfoxxed
33c8d761ff
fix: incorrect usage of as_group without check in focus_tab
Closes #106
2024-05-08 15:27:45 -07:00
outfoxxed
584a1b1e35
feat: add hy3:warpcursor 2024-05-05 18:02:31 -07:00
outfoxxed
311939d443
feat: add cursor warping support to hy3:movefocus 2024-05-05 17:47:55 -07:00
outfoxxed
bc25b2a87f
fixup: fix breakage after hyprland#5883 2024-05-05 13:52:44 -07:00
outfoxxed
dc5a0224ce
fixup: fix breakage after hyprland#5762 + improve Hy3NodeData repr
Hy3NodeData now uses std::variant instead of a union, and all accesses
are checked.
2024-04-29 16:45:23 -07:00
outfoxxed
e6cabcfa3d
fixup: fix hook + layout breakage
fixes #102
2024-04-22 22:30:37 -07:00
The Darsh
0177c6fc45 quick patch for hl38.1 2024-04-08 02:16:00 +02:00
outfoxxed
b22f13640f
misc: reformat 2024-04-03 21:46:45 -07:00
outfoxxed
fdc4749ac7
fixup: fix breakage from hyprland#5380 2024-04-03 21:45:40 -07:00
Visti Andresen
45a6664d7e Switched to using the new getWorkspaceRulesFor API 2024-04-01 18:18:33 +02:00
outfoxxed
cc953fc8c0
fixup: fix compile against hyprland main 2024-03-29 01:49:19 -07:00
outfoxxed
315e7902c9
Merge remote-tracking branch 'eriedaberrie/master' 2024-03-22 01:07:36 -07:00
outfoxxed
8ac36f3954
layout: add no_gaps_when_only=2
Also clean up window special render data, which may fix some
unreported bugs.

Closes #61
2024-03-22 00:37:13 -07:00
outfoxxed
160fe1dda5
layout: fix maximize failing for workspaces with no tiled windows 2024-03-21 23:18:06 -07:00
eriedaberrie
aa9aae294e Fix compile after hyprland header location change 2024-03-20 21:47:04 -07: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
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
outfoxxed
2f28dc810c
Rewrite installation instructions
Add hyprpm, deprecate AUR, prioritize stable releases for Nix.
2024-01-01 20:57:46 -08: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
4db9b1f37a
Fix pixel gaps with recent CBox changes 2023-11-08 02:01:06 -08:00