Commit Graph

61 Commits

Author SHA1 Message Date
DreamMaoMao
cca92ec50d fix: border color not change when focus change when disable animaitons 2025-11-05 12:23:13 +08:00
DreamMaoMao
b39ab429f5 feat: Calculate animation curve by time points rather than passed frames 2025-11-04 13:40:23 +08:00
DreamMaoMao
96938f5f86 opt: optimize focus animaiton init value 2025-11-02 12:18:37 +08:00
DreamMaoMao
d73f51ec70 opt: optimize client live check 2025-11-02 12:04:15 +08:00
DreamMaoMao
4b1d2ef88a opt: optimize layer fadein animaiton 2025-11-02 09:31:02 +08:00
DreamMaoMao
f4a3e55515 opt: optimize fade in animaiton 2025-11-02 09:24:59 +08:00
DreamMaoMao
8420d3496a Merge branch 'main' into feat/focus-animation 2025-11-01 19:27:09 +08:00
DreamMaoMao
78f7cb40c7 opt: optimize animaiton frame fresh 2025-11-01 19:24:37 +08:00
DreamMaoMao
6fdb962786 fix: fix focus animation error 2025-11-01 16:00:25 +08:00
Szymon Rączka
8f706688de feat: add smooth focus transition animation for opacity and border
This adds animated transitions when switching focus between windows.
Both window opacity and border color now fade smoothly using cubic
bezier easing instead of changing instantly.

Implementation:
- Added animation_duration_focus config option (default 400ms)
- Added animation_curve_focus for cubic bezier easing curve
- Window opacity and border color animate together when focus changes
- Uses existing animation infrastructure (baked bezier points)

The feature is backwards compatible and can be disabled by setting
animation_duration_focus=0 in config file.

Changes affect 5 files with minimal additions to keep code clean.
2025-10-31 22:33:38 +01:00
DreamMaoMao
cbcbda25cd break change: correct maxmize to maximize 2025-10-28 20:29:25 +08:00
DreamMaoMao
5429b723f6 opt: make tag animation more consistent 2025-10-21 16:29:30 +08:00
DreamMaoMao
17009f5364 fix: should set global client tag before caculate number of client in arrange 2025-10-18 20:39:31 +08:00
DreamMaoMao
7b709872f5 feat: add layout right_tile 2025-10-15 13:22:41 +08:00
DreamMaoMao
ca48f95997 feat: support resize tile window 2025-10-11 11:25:22 +08:00
DreamMaoMao
0622ab463b opt: set all monitor pointer init value to NULL 2025-10-06 14:28:32 +08:00
DreamMaoMao
300d98c54e opt: optimize scratchpad animaiton set 2025-09-24 20:21:40 +08:00
DreamMaoMao
3a21ef8801 feat: add option scratchpad_cross_monitor 2025-09-24 20:08:20 +08:00
DreamMaoMao
b6b56a91ef opt: optimzie code struct 2025-09-21 11:57:32 +08:00
DreamMaoMao
c03ba0436d opt: allow tag animaiton when client switch tag 2025-09-21 11:54:52 +08:00
DreamMaoMao
31ac4bd6ed feat: make ~0 tag own independent layout 2025-09-15 22:06:10 +08:00
DreamMaoMao
d32dde4d98 opt: optimize slide animaiton dir judge 2025-09-09 12:14:36 +08:00
DreamMaoMao
d64e654c2d opt: optimzie var name 2025-09-09 11:02:47 +08:00
DreamMaoMao
ed7886c685 fix: animation none type not effect 2025-09-08 16:26:53 +08:00
DreamMaoMao
f9cff86a8a opt: optimize frame count when total_frame is 0 2025-09-08 09:03:07 +08:00
DreamMaoMao
f712917159 opt: optimize layer animaiton frame count in multi monitor 2025-09-07 17:59:15 +08:00
DreamMaoMao
6b02283f6d fix: none type open animaiton miss move animaiton 2025-09-05 21:16:38 +08:00
DreamMaoMao
2a4c37f0d6 opt: remove useless code 2025-08-14 14:43:27 +08:00
DreamMaoMao
7f32adbdd9 feat: add isnosizehit option to windowrule 2025-08-05 23:00:44 +08:00
DreamMaoMao
c6102ddca1 feat: respect the min and max size hint for the floating window 2025-08-05 23:00:35 +08:00
DreamMaoMao
3bf524929b opt: optimize init commit for no anim 2025-08-02 23:02:21 +08:00
DreamMaoMao
17071783aa opt: change struct type name animationScale to BufferData 2025-07-31 22:04:26 +08:00
DreamMaoMao
c1606b3683 opt: optimize none animation fram draw 2025-07-15 17:02:04 +08:00
DreamMaoMao
c835a29559 opt: optimize code struct 2025-07-15 16:28:03 +08:00
DreamMaoMao
53c6442ca3 opt: optimize var name 2025-07-15 16:18:16 +08:00
DreamMaoMao
669095a157 opt: optmize no anim opacity set 2025-07-15 16:10:06 +08:00
DreamMaoMao
86f6640299 fix: miss judge global animations option in layer close animation 2025-07-13 14:00:22 +08:00
DreamMaoMao
057cfc1b8b fix: fix overshot animaiton miss scale end frame 2025-07-13 13:54:19 +08:00
DreamMaoMao
608aa7f7a2 opt: optimize layer animation action set 2025-07-13 12:52:32 +08:00
DreamMaoMao
c6635d73a9 opt: close animation and actively apply to refresh 2025-07-13 12:33:50 +08:00
DreamMaoMao
5e5c4d0316 opt: optimize zoom animaiton break 2025-07-13 12:22:30 +08:00
DreamMaoMao
70a945fbaa opt: optimize layer animaiton code struct 2025-07-13 11:43:55 +08:00
DreamMaoMao
faa5b8985d opt: optimize layer area bound code struct 2025-07-13 11:34:41 +08:00
DreamMaoMao
e4d27e8ae5 fix: miss apply client animaiton type fade 2025-07-13 11:12:38 +08:00
DreamMaoMao
80c399fa81 opt: optimize client scale offset 2025-07-13 10:06:43 +08:00
DreamMaoMao
7485fa1b7e opt: optimize layer scale offset 2025-07-13 10:06:43 +08:00
DreamMaoMao
1eac548ede opt: Cut off the overly long layer ending zoom animation 2025-07-12 15:37:15 +08:00
DreamMaoMao
d1cff55348 feat: add option zoom_end_ratio 2025-07-12 14:57:57 +08:00
DreamMaoMao
4f44d3dd06 feat: layer zoom out animaiton 2025-07-12 14:46:22 +08:00
DreamMaoMao
b9b82c1c96 feat: layer zoom in type animation 2025-07-12 13:44:19 +08:00