Commit graph

613 commits

Author SHA1 Message Date
Felix Kratz
62357cc8b6 mirror popup menus for bottom bars 2021-12-19 18:08:51 +01:00
Felix Kratz
b3146aecf4 keep right popup menus always on screen 2021-12-19 18:00:41 +01:00
Felix Kratz
98756c9d5c popup items respect drawing property 2021-12-19 17:42:12 +01:00
Felix Kratz
e45a74da57 adaptive size popup menus 2021-12-19 17:37:19 +01:00
Felix Kratz
84ea2e19f2 only work with whole points for drawing 2021-12-18 23:19:33 +01:00
Felix Kratz
48140bb8f8 fix bounding rects for popup menus 2021-12-18 23:11:03 +01:00
Felix Kratz
cde65125be expose popup menu syntax (documentation following soon) 2021-12-18 22:12:25 +01:00
Felix Kratz
588c553f66 popup menu backend working 2021-12-18 19:10:21 +01:00
Felix Kratz
036d440f11 preparing popup menus (#132) 2021-12-18 15:38:34 +01:00
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