Commit graph

804 commits

Author SHA1 Message Date
Felix Kratz
64c522eb45 fix freeze on reordering unknown item 2021-12-17 11:22:23 +01:00
Felix Kratz
df0017d277 keep data ref for next comparison 2021-12-15 23:31:31 +01:00
Felix Kratz
a4f5a96b57 fix small leak 2021-12-15 02:07:07 +01:00
Felix Kratz
ddceaf3ac4 release image after comparison 2021-12-14 00:45:18 +01:00
Felix Kratz
80c4a964a7 significantly reduce cpu usage with many aliases. Closes #123 2021-12-12 16:43:57 +01:00
Felix Kratz
13c3655da4 fix underflow in text length 2021-12-12 15:32:16 +01:00
Felix Kratz
4e2ab9b2b7 clear env vars on item destroy 2021-12-12 14:29:51 +01:00
Felix Kratz
0c78f12d43 Merge branch 'master' of github.com:FelixKratz/SketchyBar 2021-12-12 14:17:37 +01:00
Felix Kratz
8d06ba429c trigger events with environment variables. Closes #105 2021-12-12 14:17:29 +01:00
Felix Kratz
ab4de8651d fix segfault with new env_var system 2021-12-12 13:27:39 +01:00
Felix Kratz
a455b44529 new environment variable system 2021-12-12 13:22:41 +01:00
Felix Kratz
338b7ea514 better key value pair handling 2021-12-12 11:46:33 +01:00
Felix Kratz
7907c87911
Brew opt path is install specific 2021-12-10 10:03:04 +01:00
Felix Kratz
4357fd19f4 better default menu query output 2021-12-09 17:57:03 +01:00
Felix Kratz
56862e90dd ask for required permission when querying default menu items 2021-12-09 17:41:49 +01:00
Felix Kratz
6fba6e343d added 'left of notch' and 'right of notch' item positions 2021-12-05 20:25:24 +01:00
Felix Kratz
83690a3015 core logic cleanup 2021-12-05 19:43:51 +01:00
Felix Kratz
3a12d250eb updates=when_shown respected more consitently 2021-12-02 19:23:31 +01:00
FelixKratz
a8c112ccb8 off by one fixes
Co-authored-by: LeonHeidelbach <leon.heidelbach@hhu.de>
2021-12-02 00:06:51 +01:00
FelixKratz
741f749189 fixes to core logic
Co-authored-by: LeonHeidelbach <leon.heidelbach@hhu.de>
2021-12-01 22:35:53 +01:00
Felix Kratz
7498a9bd4e improved query system for components (#55) 2021-11-30 17:59:56 +01:00
Felix Kratz
bddc171816 align property for fixed width icons and labels 2021-11-29 18:24:09 +01:00
Felix Kratz
1ce288eca6 y_offset for brackets 2021-11-26 19:09:31 +01:00
Felix Kratz
dc0d6bf3ff core logic surgery -- hopefully fixes some bugs 2021-11-23 23:36:36 +01:00
Felix Kratz
bbd967a868 add brackets to brackets 2021-11-23 00:18:24 +01:00
Felix Kratz
786f19ed10 fix right bracket offset 2021-11-22 23:56:46 +01:00
Felix Kratz
f7bf1aefcb fix right brackets 2021-11-18 20:15:15 +01:00
Felix Kratz
e344ffc10f changed default window level to normal 2021-11-17 16:58:34 +01:00
Felix Kratz
b6bdf016c9 removed only on HEAD notice from readme 2021-11-14 21:36:09 +01:00
Felix Kratz
2378cbdd6d
Merge pull request #111 from errose28/fix-remove
Fix memory issues when removing bar items
2021-11-14 21:17:50 +01:00
Felix Kratz
a86733a237
Merge pull request #113 from errose28/fix-json
Fix json output when bar has no items
2021-11-14 21:17:40 +01:00
Ethan Rose
bbf45f7230 Fix json output when bar has no items 2021-11-13 18:02:57 -08:00
Ethan Rose
07b6b5c454 Fix remove when one item remains 2021-11-13 16:59:56 -08:00
Ethan Rose
eaf1bf4dc5 Fix typo causing double free on item remove 2021-11-13 13:57:46 -08:00
Felix Kratz
fc3db286b7 leaner default space script 2021-11-13 15:27:08 +01:00
Felix Kratz
2d5ba3f2ab added system_will_sleep to README and note for script termination 2021-11-13 14:02:39 +01:00
Felix Kratz
c648823b9e system_will_sleep event and scripts are not executed during sleep 2021-11-13 13:56:26 +01:00
Felix Kratz
ac376fffe3 negative bar y_offset possible 2021-11-12 17:26:52 +01:00
Felix Kratz
3a831e4a46 inner paddings can be negative again 2021-11-12 17:19:18 +01:00
Felix Kratz
3349a71a3a update README for early new features and restructured version 2021-11-11 19:10:11 +01:00
Felix Kratz
58fb08ee49 added individual backgrounds for label and icon 2021-11-11 18:35:28 +01:00
Felix Kratz
2815a6e325 further modularize core logic 2021-11-11 17:56:44 +01:00
Felix Kratz
28729302e3 modularize core bar logic 2021-11-11 01:34:29 +01:00
FelixKratz
766e3f6984 fixes #103 2021-11-07 23:27:44 +01:00
FelixKratz
8d7dad211d fix bricking typo in prev commit 2021-11-07 19:56:55 +01:00
FelixKratz
c24a682794 set timeouts for socket connection 2021-11-07 19:46:45 +01:00
FelixKratz
c6a35d5c3f timeout forks after 10s. Closes #71 2021-11-07 19:24:54 +01:00
FelixKratz
86e83d5277 push version to 2.2.0 2021-11-04 22:12:12 +01:00
FelixKratz
d221d0e948 new additional scripting properties for mouse events -> $BUTTON and $MODIFIER are accessible now. Closes #92 and #25 2021-11-04 21:51:43 +01:00
FelixKratz
4b1dec6814 item backgrounds now respect the y_offset if a custom height is specified. If a graph has a custom height background enabled the graph is drawn in the bounds of that background. Fixes #93 2021-11-04 21:03:26 +01:00