Commit graph

313 commits

Author SHA1 Message Date
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