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
Calum MacRae
96e210e579
release: 1.3.0
2021-04-25 16:45:44 +01:00
Calum MacRae
43e526e3ce
feature|fix: Add enable option for DND indicator & fix for Big Sur
...
As reported in #41 - this is now fixed
2021-04-08 17:22:39 +01:00
Calum MacRae
147672c5cd
fix: When instantiating a handle for a process, ensure it's released
...
Addressing #59
2021-04-08 17:02:23 +01:00
Calum MacRae
103cca618b
fix: Typo in run_shell when returning error
2021-04-08 14:04:26 +01:00
Calum MacRae
15498e6eb6
fix: Implement separate timer loop for shell refresh
...
Addressing #59
2021-04-08 13:59:39 +01:00
Calum MacRae
169029527e
fix: Refactor run_shell function to handle buffer/cursor correctly
...
This should hopefully squash the bug seen in #59 - where setting shell
output early in config was causing the bar to lock up.
2021-04-08 11:39:31 +01:00
Calum MacRae
1a74c0267a
enhancement: Improve efficiency of bar's initialisation
...
Only use `bar_manager_set_<THING>` functions (which tend to call
refresh/resize/destroy operations) where necessary in
`bar_manager_init`
2021-04-08 10:57:20 +01:00
Calum MacRae
9feb85f469
feature: Option to draw single bar or multiple bars, per display
...
Closes #47
2021-04-08 10:47:50 +01:00
Calum MacRae
e99175722c
feature: Show spaces for all displays
...
Also some bugfixes for shell output :)
2021-04-07 15:46:58 +01:00
Calum MacRae
ce0872c9da
docs: Set icon font to "Solid" style
2021-03-30 22:22:23 +01:00
Calum MacRae
c9305ddf33
feature: Add padding options
2021-03-30 22:11:25 +01:00
Calum MacRae
e99329838c
feature: shell outputs
...
These changes introduce left|right|center shell outputs sections to
accommodate the display of custom information
2021-03-30 21:29:16 +01:00
Calum MacRae
10995851cd
feature: Introduce on|off switches for spaces/clock/power
2021-03-28 00:13:15 +00:00
Calum MacRae
003beb7a85
docs: Document 'title' option & set default to 'on'
...
Closes #32
2021-03-27 20:57:44 +00:00
Calum MacRae
9f8087d920
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 16:20:51 +00:00
cmacrae
0520f18156
release: v1.2.1
2021-03-27 16:20:51 +00:00
Oddmund Strømme
cb0119149c
Add/fix "get space_icon_strip"
...
If no value given when calling `spacebar -m config space_icon_strip`,
print the current value.
Prints icon strip names delimited by spaces and surrounded with double
quotation marks, so it supports space names with spaces.
2021-03-27 16:20:51 +00:00
cmacrae
329c79beb3
release: v1.2.0
2021-03-27 16:20:51 +00:00
norviah
3e0a5ff93d
feature: implement 'title' option to determine whether or not to display an application's title
2020-08-09 19:08:26 -07:00
cmacrae
4eaab7623a
feature: Add spacing options
...
As requested in #30
2020-08-05 23:18:34 +01:00
cmacrae
b075de54d6
release: v1.1.1
2020-07-21 19:58:28 +01:00
cmacrae
38ee3992ec
enhancement: More dynamic padding for status area
2020-07-19 01:11:10 +01:00
cmacrae
afa0db1ff0
enhancement: Pad long titles by 100px either side
2020-07-18 19:07:28 +01:00
cmacrae
0e2d05fff2
fix: Correct overlap logic for long titles
...
These changes fix the logic used to calculate overlaps for the
centre strip.
Closes #28
2020-07-18 15:03:21 +01:00
cmacrae
542855131f
fix: Don't draw titles longer than 100 characters
...
Closes #26
2020-07-17 21:59:16 +01:00
cmacrae
5ad8cea5aa
feature: Implement 'height' config option
2020-07-17 14:13:52 +01:00
cmacrae
4fd4bb11be
fix: Calculate bottom of display for position 'bottom'
2020-07-16 20:13:42 +01:00
cmacrae
681108fe36
docs: Update author references
...
somdoron was kind enough to transfer project ownership over to me \o/
2020-07-12 21:26:50 +01:00
cmacrae
0759ebf9a0
feature: Implement 'position' option ('top' or 'bottom')
2020-07-12 17:31:27 +01:00
cmacrae
74cbbc1ac2
feature: Add options to change colours of right strip icons
...
These changes introduce the following options (should be pretty self
explanatory):
- power_icon_color
- battery_icon_color
- clock_icon_color
- dnd_icon_color
I've also taken the liberty of updating the docs
2020-07-09 19:23:52 +01:00
cmacrae
33f8faad8f
feature: DND indicator
...
These changes introduce a DoNotDisturb indicator in the right strip.
Colour is currently non-configurable - this will be added as an
enhancement in the future, along with colour options for other
elements in the right strip.
2020-07-09 17:25:41 +01:00
Calum MacRae
85547b5ea0
Merge branch 'master' into enhancement/fix/powerline_position
2020-07-08 21:08:58 +01:00
cmacrae
146f0d45f1
fix: Calculate position of batt_line based on clock format
2020-07-08 21:01:43 +01:00
cmacrae
e7412cf920
enhancement: Remove underlines
2020-06-20 14:01:08 +01:00
cmacrae
9e5d235d04
enhancement: Nicer current space indicator
...
These changes introduce two things:
- Switch from an underline indicator for the current space to simply
colouring the icon
- Provide a `space_icon_color` config option to set the colour of the
current space
2020-06-17 11:45:25 +01:00
Tom Auger
e7ba4af267
Fix bar flicker when mouse moves between monitors
2020-05-25 23:28:55 +01:00
cmacrae
c982829b11
cleanup: Remove 'status_bar_' config prefixes
...
As this project is now simply a status bar on its own, the
'status_bar_' prefix on all config options seemed superfluous :)
2020-04-16 10:18:49 +01:00
Doron Somech
9dc81e4bf9
add clock format support
2020-03-30 09:43:21 +03:00
Doron Somech
80b9fe76c9
recreate bars when displays changed
2020-03-29 17:56:58 +03:00
Doron Somech
2c8dd480d6
increase version
2020-03-29 14:45:23 +03:00
Doron Somech
06958d27dd
change default icon font to font awesome 5
2020-03-29 14:44:30 +03:00
Doron Somech
afbd1d6647
show correct mission control index
2020-03-29 14:44:11 +03:00
Doron Somech
09c95c249c
fix version
2020-03-29 13:58:48 +03:00
Doron Somech
7724fb905a
first commit
2020-03-29 13:25:21 +03:00