Commit graph

1067 commits

Author SHA1 Message Date
Felix Kratz
852dc38234 push version to v2.22.0 2024-11-18 16:44:20 +01:00
Igor Fedyukin
dc0c9618a2
Support notch_display_height property (#626) 2024-11-08 15:07:26 +01:00
Capybara121
dc5d29cd0b
Fix popup rendering when first adding an item in and removing all items (#631)
* Fixed off-by-1 error

* Separate popup_close_window from popup.drawing and draw/close popups when first/last items are being added/removed
2024-11-08 15:04:42 +01:00
Jean Dupouy
cf45542410
fix off-by-1 error for center items (#640) 2024-11-08 15:03:18 +01:00
Felix Kratz
ed1684d348 add standalone icon file 2024-10-11 15:44:31 +02:00
Felix Kratz
5b7d0e07cf add ko-fi note to readme 2024-09-24 12:47:28 +02:00
Capybara121
6f7b1ae1e9
Fixed off-by-1 error (#592) 2024-09-24 12:30:03 +02:00
Capybara121
44565c8177
bar_item_set_position now removes the item from any popups (#619) 2024-09-24 12:28:25 +02:00
Felix Kratz
fe9dce37a6 remove item from old popup host (#615) 2024-09-24 12:25:53 +02:00
Felix Kratz
cede73e0e7 explicitly mark all windows as unmanaged 2024-08-14 15:39:16 +02:00
Felix Kratz
fb59232911 compatibility with 'Displays have separate spaces' turned off (#495) 2024-08-05 15:36:37 +02:00
Felix Kratz
c713afe574 possible fix for crash on media_change event (#581) 2024-07-22 21:21:04 +02:00
Felix Kratz
367c9d902d fix crash on popup scroll on second monitor 2024-05-28 10:12:22 +02:00
Felix Kratz
4aa602ac71 flush window content region after redraw 2024-05-22 12:14:49 +02:00
Felix Kratz
dd8b7cd124 send modifier keys held while scrolling to scripts 2024-05-16 18:19:33 +02:00
Felix Kratz
4194da0bd2 add scroll fields to query response (#520) 2024-03-17 21:34:10 +01:00
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