Commit graph

294 commits

Author SHA1 Message Date
FelixKratz
ebd77cc706 item y_offsets 2021-09-23 22:49:05 +02:00
FelixKratz
25127523b3 font_smoothing as an option 2021-09-23 22:00:54 +02:00
FelixKratz
fd349366cf push version to 1.3.0 2021-09-23 00:55:55 +02:00
FelixKratz
78b7ee66c4 silence compile warnings 2021-09-23 00:53:07 +02:00
FelixKratz
201237529a no need for bar to be visible for item aliases 2021-09-23 00:49:32 +02:00
FelixKratz
2cbc7f92b5 remove trailing spaces 2021-09-22 17:37:23 +02:00
FelixKratz
d9977e81b5 sharper text rendering 2021-09-22 15:46:49 +02:00
FelixKratz
92c4af9004 allow individual bar hiding 2021-09-22 15:19:22 +02:00
FelixKratz
9558a3c7cd replace config domain with bar domain 2021-09-22 10:42:51 +02:00
FelixKratz
b61f801429 better bar hiding 2021-09-22 10:22:05 +02:00
FelixKratz
49a2425a0c new logic to determine wether an item is shown 2021-09-22 10:21:08 +02:00
FelixKratz
8dceff3724 rename scripting to updates 2021-09-21 16:33:54 +02:00
FelixKratz
0460c00b96 crispy rendering 2021-09-21 11:19:58 +02:00
FelixKratz
ce04676ea0 paddings can now be negative 2021-09-20 19:23:16 +02:00
FelixKratz
91a9a694d5 fix multi item aliasing from single owner 2021-09-20 11:49:09 +02:00
FelixKratz
a099235741 specify window owner and name for window aliasing 2021-09-20 00:27:12 +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
170e4c8629 fix bar hiding not working after last patch 2021-09-17 16:20:08 +02:00
FelixKratz
cdf3001ec2 fixing pesky bugs and adding sid and did as scripting env variables for space components 2021-09-15 22:45:49 +02:00
FelixKratz
0b3291d5f0 on, true and yes are now synonymous in messages 2021-09-15 20:02:10 +02:00
FelixKratz
70d9b7a983 new item background features 2021-09-15 19:40:20 +02:00
FelixKratz
6512f8c73c always draw graphs inside border 2021-09-14 00:10:38 +02:00
FelixKratz
09dfee4dd7 added configurable bar border 2021-09-13 23:58:19 +02:00
FelixKratz
71a37b7250 make new topmost and hidden properties toggleable 2021-09-11 23:31:12 +02:00
FelixKratz
c1caba4733 hide / unhide bar & set bar topmost 2021-09-11 23:22:51 +02:00
FelixKratz
95923db500 even more batching 2021-09-11 19:12:56 +02:00
FelixKratz
1e13c870d8 nospace modifier available for all items 2021-09-10 16:07:17 +02:00
FelixKratz
627944b74a added toggle command for boolean properties 2021-09-10 10:33:33 +02:00
FelixKratz
1e468dd3c8 item background enabled 2021-09-09 19:34:49 +02:00
FelixKratz
fcbbc4bdc0 picky multi bar redraw 2021-09-09 00:52:30 +02:00
FelixKratz
ad569c2e15 fix segv 2021-09-09 00:15:26 +02:00
FelixKratz
33d9ea9f7d malloc rbr string 2021-09-08 21:30:01 +02:00
FelixKratz
d98ee90c60 graph push sets needs update 2021-09-08 20:40:25 +02:00
FelixKratz
0cad72cd88 nice performance boost and lazy items 2021-09-08 20:35:48 +02:00
FelixKratz
48abe65ddc much snappier space scripting 2021-09-08 17:53:17 +02:00
FelixKratz
a884801bc0 stop the leakage 2021-09-08 17:10:48 +02:00
FelixKratz
fbe7000691 close socket on error 2021-09-07 18:19:11 +02:00
FelixKratz
e6dec87666 remove macros 2021-09-07 17:57:12 +02:00
FelixKratz
3d0cd574a2 thinning down imports and libraries 2021-09-07 17:51:20 +02:00
FelixKratz
24fd74bc92 batch event subscription 2021-09-07 16:51:42 +02:00
FelixKratz
96a31a1d90 close file descriptor after read 2021-09-07 15:56:35 +02:00
FelixKratz
05bc579454 batch messages for everything 2021-09-07 01:51:46 +02:00
Felix Kratz
0e2926e966 split off rect drawing 2021-09-06 18:46:38 +02:00
Felix Kratz
7d82ee5ceb fix bounding rects if no label is present 2021-09-06 18:05:13 +02:00
Felix Kratz
4a90d43115 fix font change not updating label 2021-09-06 16:14:15 +02:00
Felix Kratz
63b16d5508 push version to 1.0.8 2021-09-06 15:39:47 +02:00
Felix Kratz
95e9fad749 remove debug print 2021-09-06 15:18:37 +02:00
Felix Kratz
6e4a349a9c retry if socket if flooded 2021-09-06 15:17:15 +02:00
FelixKratz
182dc3a1c7 sync exec 2021-09-05 18:13:40 +02:00
FelixKratz
d4a9c293f5 remove exit polling 2021-09-05 18:07:31 +02:00
FelixKratz
ee2918b376 component refresh overhault 2021-09-05 17:23:47 +02:00
FelixKratz
8000a3dfcc better line passing in preparation and drawing 2021-09-05 16:42:52 +02:00
FelixKratz
461d4ef923 merged branch color 2021-09-05 16:05:27 +02:00
FelixKratz
10557846e8 pass pointer to line 2021-09-05 16:03:47 +02:00
FelixKratz
1ca51e31e3 background colors working, but more precision needed 2021-09-05 12:44:43 +02:00
FelixKratz
4ea3f34238 preparing item background drawing 2021-09-05 12:22:18 +02:00
FelixKratz
381f7366f3 modularize bar drawing 2021-09-05 11:55:54 +02:00
FelixKratz
4e26383e02 properly set the default space script 2021-09-04 18:11:37 +02:00
FelixKratz
82f30712ec push version to 1.0.7 2021-09-04 17:38:55 +02:00
FelixKratz
32a839485a performance improvements over the last hotfix 2021-09-04 17:38:10 +02:00
FelixKratz
a02ad0a555 hotfix for responsiveness 2021-09-04 17:19:35 +02:00
FelixKratz
0254302227 push version to 1.0.6 2021-09-04 17:03:19 +02:00
FelixKratz
aa1150a07d better multimonitor support 2021-09-04 17:00:05 +02:00
FelixKratz
f652b3805a push version to 1.0.5 2021-09-04 12:52:01 +02:00
FelixKratz
428c401c22 freeze during script updates 2021-09-04 12:43:15 +02:00
FelixKratz
eebd5ebdd5 make the space component more configurable 2021-09-04 12:36:51 +02:00
FelixKratz
582fa05547 make name of item/component accessible in scripts 2021-09-04 10:46:32 +02:00
Felix Kratz
4d4ff5d058
Merge pull request #31 from azuwis/update-freq
Fix update_freq
2021-09-04 09:03:28 +02:00
Zhong Jianxin
8a0851a64b Revert "higher res text rendering"
This reverts commit 3f2991a883.

Fix #29
2021-09-04 00:00:01 +08:00
Zhong Jianxin
eea5dd81b4 Fix update_freq 2021-09-03 23:58:41 +08:00
FelixKratz
bde4b3d040 push version to 1.0.4 2021-09-03 12:22:36 +02:00
FelixKratz
4c7cc5fef3 cleanup of cleanup 2021-09-03 12:19:00 +02:00
FelixKratz
5c500af5e9 cleanup 2021-09-03 12:18:09 +02:00
FelixKratz
aae17c908a click script renaming 2021-09-03 11:39:38 +02:00
FelixKratz
0d052f668c remove hashtable remnant 2021-09-03 10:35:05 +02:00
FelixKratz
d83c698fb8 added background blur option 2021-09-03 10:06:58 +02:00
FelixKratz
c4a946ff96 free context correctly 2021-09-02 23:52:14 +02:00
FelixKratz
f53ae55fa9 more elegant drawing of rounded bar 2021-09-01 19:25:24 +02:00
FelixKratz
383e003919 syntax cleanup 2021-09-01 19:13:16 +02:00
FelixKratz
3f2991a883 higher res text rendering 2021-09-01 18:53:34 +02:00
FelixKratz
544399ab7b rather use fill path than draw path 2021-09-01 18:32:41 +02:00
FelixKratz
1fb383a6e8 fixed small black line on bottom of the bar 2021-09-01 18:24:33 +02:00
FelixKratz
0c08ca88c4 added corner radius option for the bar 2021-09-01 16:42:27 +02:00
FelixKratz
0471461571 completely new mouse system 2021-09-01 15:32:00 +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
7ed2ee4ee2 make freeze option accessible 2021-08-31 15:03:48 +02:00
FelixKratz
4d503567e1 print duplicate names 2021-08-31 00:58:16 +02:00
FelixKratz
780e534a3b internal logic for freezing the bar 2021-08-31 00:52:06 +02:00
FelixKratz
da34899145 disallow readding the same item 2021-08-31 00:42:38 +02:00
FelixKratz
d88cda7dbb added option to comletely remove an item 2021-08-31 00:32:33 +02:00
FelixKratz
e505222dfe handle malformed input strings better 2021-08-30 22:04:15 +02:00
FelixKratz
52cb67c7f7 catch zero pointer assignments 2021-08-30 06:52:56 +02:00
FelixKratz
17144d3940 hotfix for update_freq = 0 with forced refresh 2021-08-28 19:57:22 +02:00
FelixKratz
6d3469405b new default refresh_freq = 0, which will never be triggered 2021-08-28 19:44:41 +02:00
FelixKratz
4093ba51c9 removed unused notification logic 2021-08-28 10:53:42 +02:00
FelixKratz
3c948d2659 make custom events more powerful (optional) 2021-08-27 21:57:48 +02:00
FelixKratz
d3a2194f67 allow hiding items 2021-08-24 10:56:59 +02:00
FelixKratz
3862b91271 fix clicks being registered for inactive items 2021-08-24 01:01:20 +02:00
FelixKratz
38ceab3d8a removed clutter 2021-08-24 00:45:24 +02:00
FelixKratz
2dc711f22f allow enabling and disabling of items 2021-08-23 22:57:09 +02:00
FelixKratz
7cba487cd2 custom event system working 2021-08-23 22:38:29 +02:00
FelixKratz
7aefb7c823 added custom event flag logic 2021-08-23 21:15:15 +02:00
FelixKratz
d82d21eae5 added basic structure for custom events 2021-08-23 20:19:07 +02:00
FelixKratz
9944e76d6c streamlined mouse logic further 2021-08-23 19:30:34 +02:00
FelixKratz
07aced2bc6 removed accessibility features 2021-08-23 19:09:06 +02:00
FelixKratz
2a0dadef49 delete A LOT of unneeded bulk 2021-08-23 15:06:09 +02:00
FelixKratz
127824f012 removed unused window title function 2021-08-23 14:46:48 +02:00
FelixKratz
096315e72d removed title component 2021-08-23 14:45:28 +02:00
FelixKratz
e25c8b5af2 only refresh bar on demand 2021-08-22 23:09:35 +02:00
FelixKratz
58683ba4c2 only refresh bar for items that are actually shown 2021-08-22 22:56:44 +02:00
FelixKratz
1eefbe821d Added script caching in RAM for better performance as a item preference 2021-08-22 18:48:50 +02:00
FelixKratz
2b3e59dadb allow setting default values for a lot of properties 2021-08-22 14:37:30 +02:00
FelixKratz
026b2eda0a fixed a bug in token to integer conversion -> spacings in the config might be smaller now 2021-08-21 15:11:52 +02:00
FelixKratz
bc006b5d41 fixed mouse mouse ghost clicks 2021-08-21 12:55:15 +02:00
FelixKratz
a62488c0b7 removed unused mouse callbacks 2021-08-21 12:45:53 +02:00
FelixKratz
cf1a2b93db removed unnecessary mouse flags 2021-08-20 23:56:05 +02:00
FelixKratz
b5e1d01802 hotfix for window title component 2021-08-20 09:01:02 +02:00
Donald Guy
226d7e6d80
Merge branch 'master' into position-bottom 2021-08-18 19:11:24 -04:00
FelixKratz
44ad32fd79 removed dev prints 2021-08-19 01:06:53 +02:00
Donald Guy
4fafebb542 Only factor in menu-bar height for top bar
use log.c facility for EVENT_HANDLER_MOUSE_UP log/printf
2021-08-18 19:05:45 -04:00
FelixKratz
a61fae9621 remove bounding rect comment and added position in rc 2021-08-19 00:42:00 +02:00
FelixKratz
7e96b93e6f bottom position clicking fixed 2021-08-19 00:38:00 +02:00
FelixKratz
a6eb4a8b38 added position back in 2021-08-19 00:13:57 +02:00
FelixKratz
3afeeb7a50 fixed the segfault on display remove and changed reallocs to mallocs along the way 2021-08-19 00:06:20 +02:00
FelixKratz
5ba9ad9e0f move refresh logic to improve performance on multi monitor setups 2021-08-18 23:14:27 +02:00
FelixKratz
600265179c removed unused power source loop 2021-08-18 22:43:17 +02:00
FelixKratz
646df4b6c8 added click actions and some tweaking to the graph logic 2021-08-17 02:11:40 +02:00
FelixKratz
a553aa46ce change screen, display association logic to allow for multiple associations 2021-08-14 21:54:43 +02:00
FelixKratz
8b07957c4c add system event subscribe syntax 2021-08-14 21:32:25 +02:00
FelixKratz
d9b7da5e36 reworked the space component with individual highlight colors 2021-08-14 19:56:48 +02:00
FelixKratz
69283380e0 cleaned up some naming 2021-08-14 19:26:46 +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
FelixKratz
f28d18c265 integer division correction for the graphs 2021-08-12 23:48:58 +02:00
FelixKratz
19a8972fc0 fixed pesky graph bug 2021-08-12 19:29:45 +02:00
FelixKratz
281128650d deleted unused functions 2021-08-11 18:39:12 +02:00
FelixKratz
6a9203b43d only small comments 2021-08-11 11:54:20 +02:00
FelixKratz
9f1b4433af small layout fixes with the graphs 2021-08-11 11:06:30 +02:00
FelixKratz
63218e5aae added missing cpu files 2021-08-10 18:20:31 +02:00
FelixKratz
d033cc4e83 added graphs and started with cpu and mem, but can be arbitrary graphs (stock?) 2021-08-10 18:20:02 +02:00
FelixKratz
73e65d526b sid and did swap fixed 2021-08-10 12:31:49 +02:00
FelixKratz
72b23e6c43 fixed messaging typo 2021-08-10 12:25:49 +02:00
FelixKratz
1e1bf3dd78 fixed a layout bug 2021-08-10 12:08:11 +02:00
FelixKratz
8e37e190ab scripting working 2021-08-10 01:10:31 +02:00
FelixKratz
a6a5846f48 getting scripts to work 2021-08-10 00:33:45 +02:00
FelixKratz
75f23cbaa7 working prototype 2021-08-10 00:08:31 +02:00
FelixKratz
bd86c42cba removed the junk 2021-08-09 19:06:10 +02:00