Commit graph

1051 commits

Author SHA1 Message Date
Felix Kratz
3946005f6b push version to v2.21.0 2024-03-14 09:45:12 +01:00
Felix Kratz
0cc53dc1d0 improve chained animation handling 2024-03-04 18:49:00 +01:00
Felix Kratz
0d0f41341e only use threaded rendering for animation frames
when not in an animation the latency reduction doesnt really matter and we save some thread overhead this way
2024-02-29 17:03:11 +01:00
Felix Kratz
2673c6349c only use threaded rendering for animation frames
when not in an animation the latency reduction doesnt really matter and we save some thread overhead this way
2024-02-29 17:02:13 +01:00
Felix Kratz
318fb2809b small fix for scrolling text with new animation system 2024-02-29 16:31:42 +01:00
Felix Kratz
e1afb4e257 improve animation system 2024-02-29 16:23:06 +01:00
Felix Kratz
6fbf9edf75 only re-render popup when needed 2024-02-29 16:22:43 +01:00
Felix Kratz
e7a54130e9 parallelize the drawing system 2024-02-29 16:22:21 +01:00
Felix Kratz
dcf6658cd4 try to unlock the event mutex up to 1ms for an animation frame, only then drop it 2024-02-29 16:20:27 +01:00
Felix Kratz
a9775b4fed properly disable update if no window operation is needed (#507) 2024-02-28 08:57:32 +01:00
Felix Kratz
71051799af properly disable update if no window operation is needed (#507) 2024-02-28 08:51:56 +01:00
Felix Kratz
4c457077c9 limit hotload to ~once/sec to debounce hotload loops 2024-02-26 18:15:16 +01:00
Felix Kratz
5e7b93221c set prevents activation tag bit on windows 2024-02-24 22:30:00 +01:00
Felix Kratz
016ccc317d sort default_menu_items query response by position 2024-02-24 15:35:44 +01:00
Felix Kratz
acee87a518 add a check if the mouse has really exited an item because the api is unreliable 2024-02-23 12:04:44 +01:00
Felix Kratz
c57cfdf766 properly handle all mouse exit events at global mouse exit 2024-02-23 12:03:51 +01:00
Felix Kratz
533d4914f9 fix issues if an item is added to a popup multiple times 2024-02-23 12:03:04 +01:00
Felix Kratz
b5c2c65447 add new domain --load-font <path> which makes a font from a custom path available 2024-02-22 17:18:46 +01:00
Felix Kratz
97743969fe fix memory leak in truncated text width calculation 2024-02-22 17:17:45 +01:00
Felix Kratz
5af7bf2519 only use ko-fi for donations 2024-02-22 14:48:45 +01:00
Felix Kratz
5bd685aa86 allow setting the image string as image.string=<string> instead of only via image=<string> (similar to icon=<string> and icon.string=<string>) 2024-02-21 17:32:31 +01:00
Felix Kratz
16858937e6 add scroll_duration property for texts (#478) 2024-02-20 20:25:58 +01:00
Felix Kratz
a2be857304 don't scroll texts which have a custom width smaller than the required width 2024-02-20 20:15:43 +01:00
Felix Kratz
1c0f241084 allow brackets to host popups 2024-02-20 18:46:44 +01:00
Felix Kratz
488f6b73ad reduce background draw calls 2024-02-19 18:43:49 +01:00
Felix Kratz
e9371f6e70 enable scrolling with touchpad gestures (#505) 2024-02-13 13:14:27 +01:00
Felix Kratz
d15a802485 check for startup errors as early as possible 2024-02-11 17:01:35 +01:00
Felix Kratz
53d2aaaf5e add donation button 2024-02-08 10:56:34 +01:00
Felix Kratz
2a3f9b6734 expose environment variable which is the instance name (for use with multiple bars) 2024-02-06 17:59:29 +01:00
Felix Kratz
c2194cbcf5 push version to 2.20.1 2024-02-06 17:23:52 +01:00
Felix Kratz
c6b8aa8288 improve default config 2024-02-06 17:03:45 +01:00
Felix Kratz
8c1971dc85 fix possible timing issues on system wake (#497) 2024-02-04 13:58:14 +01:00
Felix Kratz
9c88e3c957 fix duplicate keys in space_windows_change INFO (#498) 2024-02-04 13:55:31 +01:00
Felix Kratz
6801874d08 reimplement the sticky property
The new sticky implementation makes the bar fully sticky, even if space change animations are enabled, it will not move together with the spaces anymore.

The sticky property was forcibly enabled on Sonoma up till this point, now the sticky property can be disabled again, but it defaults to being on.
2024-02-01 18:17:33 +01:00
Felix Kratz
baa7a19fde fix memory leak in space_windows_change event logic 2024-02-01 18:11:52 +01:00
Felix Kratz
7d121d55e2 sticky on Sonoma is enforced in bar_manager 2024-01-31 18:35:27 +01:00
Felix Kratz
0e0bf707e8 protect sticky property from being changed on Sonoma and up 2024-01-31 18:02:56 +01:00
Felix Kratz
ca40c45ac8 push version to 2.20.0 2024-01-28 00:09:30 +01:00
Felix Kratz
6e6eefb890 fix bar being unhidden after wake if it was hidden (#477) 2024-01-27 23:47:26 +01:00
Felix Kratz
a16906a59d fix hidden windows not properly triggering the space_windows_change event 2024-01-27 23:40:59 +01:00
Felix Kratz
b97106f545 properly emit forced space change event 2024-01-27 21:20:45 +01:00
Felix Kratz
e2009aba20 emit the proper events when triggering builtin events manually 2024-01-16 18:19:41 +01:00
Felix Kratz
72b8966d08 fix volume_change event not triggering for bluetooth mute (#481) 2024-01-16 10:49:52 +01:00
Felix Kratz
84f969d48c add check for Displays have separate spaces 2024-01-15 23:45:36 +01:00
Felix Kratz
e1a884bd3c more robust mouse handling 2024-01-15 23:44:52 +01:00
Felix Kratz
87bc9275cd protect event bit masks 2024-01-15 21:44:23 +01:00
Felix Kratz
ead2b9e524 shortcut adid if only one display connected 2024-01-15 21:43:33 +01:00
Felix Kratz
d2299c8379 lookup adid directly from active display uuid 2024-01-15 21:34:33 +01:00
Felix Kratz
6ff8ffabef properly escape media info payload 2024-01-11 11:53:23 +01:00
Felix Kratz
7021a98615 push version to 2.19.6 2024-01-07 17:08:42 +01:00