Commit graph

236 commits

Author SHA1 Message Date
Calum MacRae
96e210e579
release: 1.3.0 2021-04-25 16:45:44 +01:00
Calum MacRae
01cb8bbb6a
docs: Add GitHub Discussions badge to README 2021-04-09 16:11:15 +01:00
Calum MacRae
d47f941fa0
tooling: Provide a release tarball
Closes #63
2021-04-09 11:15:59 +01:00
Calum MacRae
ee4bac9dc1
tooling: Provide a Nix Flake 2021-04-09 10:45:59 +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
1b0d1d644f
Merge branch 'feature/spaces_for_all_displays' 2021-04-07 15:54:31 +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
99425bfa62
docs: Fix 'Unreleased' link in CHANGELOG 2021-04-07 15:19:55 +01:00
Calum MacRae
8183469c4e
docs: Example config/links in README should point to latest release
Part of (potentially all of?) the solution to #61
2021-04-07 15:11:57 +01:00
Calum MacRae
67a44cca70
tooling: Move to GitHub Actions
Closes #54
2021-03-31 16:30:16 +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
e4d5e6fa57
docs: Update changelog to note new shell sections 2021-03-30 21:32:45 +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
db5f34c6de
docs: Update unreleased changelog (bug fix & title option) 2021-03-27 23:24:29 +00:00
Calum MacRae
c87cb4ea5e
docs: Fix "charging" typo in man page 2021-03-27 23:24:04 +00:00
Calum MacRae
d8839dea3b
tooling: Set date in man page if generating from Nix shell 2021-03-27 23:23:27 +00:00
Calum MacRae
4392b2d1ea
Merge branch 'norviah/display_title_option' 2021-03-27 21:00:53 +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
d9ae76f27d
docs: Fix typos in manpage 2021-03-27 16:20:51 +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
Calum MacRae
401f6cd137
docs: Fix typos in manpage 2021-03-27 16:18:41 +00:00
Calum MacRae
87edb7e813
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 13:24:09 +00:00
cmacrae
809f960d09
release: v1.2.1 2020-11-18 17:04:38 +00:00
Oddmund Strømme
e2a53e513b 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.
2020-11-18 16:57:26 +00:00
cmacrae
95ac5d7164
release: v1.2.0 2020-11-18 16:18:50 +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
14243d282b
docs: Link asciidoc for man spacebar in README 2020-08-05 23:43:09 +01:00
cmacrae
5c4b22ca45
docs: Update README to include spacing config examples 2020-08-05 23:35:08 +01: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
8133872534
docs: Update changelog [unreleased] 2020-07-19 09:49:58 +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
4cf1275aaa
docs: Remove demo image link from README 2020-07-17 17:14:14 +01:00
cmacrae
d1e087cce8
docs: Add demo image to README 2020-07-17 16:34:45 +01:00
cmacrae
ac748efb97
docs: Nice colours for README badges 2020-07-17 15:52:48 +01:00
cmacrae
e226a485c5
docs: Add GitHub Projects badge to README 2020-07-17 15:27:38 +01:00