Felix Kratz
0e4ccc175c
Revert "entirely remove Carbon, get all events directly through the event mach port"
...
This reverts commit 207c4d7b58
.
..
..
2023-09-30 13:56:32 +02:00
Felix Kratz
1890f00c7f
Use CVDisplayLink to sync the animation refresh to the actual refresh of the display
...
A CVDiplayLink creates its own thread, where the callback function is invoked. Thus the event logic must be guarded with a recursive mutex to disable two distinct threads from accessing the core memory at the same time.
2023-08-21 18:31:08 +02:00
Felix Kratz
207c4d7b58
entirely remove Carbon, get all events directly through the event mach port
2023-08-17 11:19:31 +02:00
Felix Kratz
c3cd790565
better internal event logic
...
.
.
2023-07-19 17:02:44 +02:00
Felix Kratz
b91c61a520
add hotload functionality
...
The hotload feature is disabled by default and can be controlled via --hotload <boolean>.
When enabled, a change to any file in the CONFIG_DIR will lead to an automatic reload of the config.
When a hotload event occurs, all items are removed and all settings/defaults are reset.
Then the sketchybarrc is executed again, which gives the same effect as restarting the program manually.
2023-07-18 16:36:35 +02:00
Felix Kratz
464b5f25cb
clean up libraries and remove Cocoa
...
cleanup
2023-06-28 22:52:17 +02:00
Felix Kratz
ced353079d
adapt makefile for new color system
2023-06-14 23:14:41 +02:00
Felix Kratz
3144ec6752
add media_change event via MediaRemote framework, delivers now playing info for all apps that support the macOS media remote
2023-04-26 00:45:44 +02:00
Felix Kratz
e7461b4bb5
add font.family=<string>, font.style=<string>, font.size=<float> subdomains to texts for better font handling
2023-03-26 23:44:00 +02:00
Felix Kratz
f08a3cc71a
trigger all events at startup and add wifi_change event
2023-01-29 19:12:46 +01:00
Felix Kratz
a16e2f2382
add power_source_change event
2023-01-06 19:58:46 +01:00
Felix Kratz
26f5504445
add slider component ( #284 ) and stricter item type checking
2022-12-31 18:17:23 +01:00
Felix Kratz
548d7208c7
remove STATS and DEBUG flags
2022-12-23 23:00:33 +01:00
Felix Kratz
ca15ea88fd
add brightness_change event using private DisplayServices framework
2022-10-13 18:32:20 +02:00
Felix Kratz
673259897d
add volume_change event
2022-10-09 16:21:22 +02:00
Felix Kratz
e851eebad5
remove ax api playground for now
2022-07-02 12:12:04 +02:00
Felix Kratz
5ff5113f28
add -fno-common flag for compilation ( fixes #192 )
2022-06-10 10:02:45 +02:00
Felix Kratz
4d860a8c9c
started animation implementation
2022-05-16 15:00:39 +02:00
Felix Kratz
932d483aeb
refactoring of the window logic
2022-04-16 17:38:30 +02:00
Felix Kratz
b6470c1db3
seperate asan and debug builds & fix CFLAGS
2022-03-24 20:33:14 +01:00
Felix Kratz
f7a33beefd
restructure includes
2022-03-20 22:16:38 +01:00
Felix Kratz
cef53425b0
enable -ffast-math optimization
2022-03-20 19:41:47 +01:00
Felix Kratz
3e5c15a9a3
Fix some pesky leaks, now close to leak free.
...
Co-authored-by: LeonHeidelbach <leon.heidelbach@hhu.de>
2021-12-25 20:45:06 +01:00
Felix Kratz
a93c7ea50d
catch uninitialized use of adid
2021-12-19 19:26:54 +01:00
FelixKratz
e0697d9879
preparing item grouping
2021-10-03 00:48:25 +02:00
FelixKratz
4cfd2cde46
native arm binaries
2021-09-27 18:31:47 +02:00
FelixKratz
35a4f23c7d
universal binary
2021-09-26 14:50:17 +02:00
FelixKratz
08d6227c19
fix segv after storing window id
2021-09-19 23:17:10 +02:00
FelixKratz
e6c758b87d
ask for permission and less agressive O flag
2021-09-19 22:41:05 +02:00
FelixKratz
86da5be578
experimental: default item aliasing
2021-09-19 19:26:10 +02:00
FelixKratz
c1caba4733
hide / unhide bar & set bar topmost
2021-09-11 23:22:51 +02:00
FelixKratz
3d0cd574a2
thinning down imports and libraries
2021-09-07 17:51:20 +02:00
Felix Kratz
6e4a349a9c
retry if socket if flooded
2021-09-06 15:17:15 +02:00
FelixKratz
f515f748a6
added brew installation instructions
2021-09-01 13:22:39 +02:00
FelixKratz
606939deb7
restructure makefile for better package manager compat
2021-09-01 12:08:06 +02:00
FelixKratz
0bfd62d6f5
added ability to offset the bar and add screen margin around it
2021-08-31 16:35:31 +02:00
FelixKratz
8559d85da2
added new toggles for drawing and scripting
2021-08-31 16:18:40 +02:00
FelixKratz
2b3e59dadb
allow setting default values for a lot of properties
2021-08-22 14:37:30 +02:00
FelixKratz
5ba9ad9e0f
move refresh logic to improve performance on multi monitor setups
2021-08-18 23:14:27 +02:00
FelixKratz
b9faebcec8
install via make install
2021-08-14 22:42:59 +02:00
FelixKratz
32a80803f6
better graph component
2021-08-13 23:24:41 +02:00
FelixKratz
44a0156c3e
rename spree
2021-08-13 15:58:00 +02:00
Calum MacRae
67a44cca70
tooling: Move to GitHub Actions
...
Closes #54
2021-03-31 16:30:16 +01:00
Calum MacRae
d8839dea3b
tooling: Set date in man page if generating from Nix shell
2021-03-27 23:23:27 +00:00
Calum MacRae
87edb7e813
fix: Work around Big Sur read buffer tracking
...
As noted by @koekeishiya on yabai#714, it seems a bug was introduced
in Big Sur which causes `read` calls to track buffers incorrectly.
These changes (taken from koekeishiya/yabai@4f8be49 ) work around this.
Closes #41
2021-03-27 13:24:09 +00:00
cmacrae
d298631f93
general: Clean up unused scripts & make targets
2020-07-17 00:41:18 +01:00
Doron Somech
7724fb905a
first commit
2020-03-29 13:25:21 +03:00