Commit Graph

57 Commits

Author SHA1 Message Date
447fcd04a8 chore(xbar/brew-updates): update Xbar::Printer class 2025-09-22 09:35:13 +01:00
83c7fb10a2 chore(xbar/brew-services): update Xbar::Printer class 2025-09-22 09:35:13 +01:00
509b2e89e6 feat(xbar/mise): improve display of updates to mise itself 2025-09-22 09:35:13 +01:00
d04be47100 fix(xbar/mise): force-check latest mise version 2025-09-08 23:25:10 +01:00
0224bd608c feat(xbar): update plugin images and bump versions 2025-08-24 22:44:54 +01:00
70e616332e chore(xbar/img): update preview images 2025-08-24 22:38:59 +01:00
fedb2a78ba chore(xbar/img): add plugin preview images 2025-08-24 22:20:01 +01:00
e47b73d645 style(xbar): fix rubocop linting complaints 2025-08-24 17:21:52 +01:00
add5fe566c feat(xbar/mise-updates): add support for SwiftBar in addition to Xbar 2025-08-24 17:03:06 +01:00
e63ea227f9 feat(xbar/brew-services): add support for SwiftBar in addition to Xbar 2025-08-24 17:01:39 +01:00
eb7f92740c feat(xbar/brew-updates): add support for SwiftBar in addition to Xbar 2025-08-24 16:58:57 +01:00
e835afbd05 feat(xbar/mise-updates): add mise self version check 2025-08-22 13:20:10 +01:00
154b9b1938 feat(xbar/mise-updates): add self-update menu item 2024-08-25 12:58:23 +01:00
Jim Myhrberg
3072c61568 fix(xbar/mise-updates): ensure commands all run within the env root 2024-07-15 09:31:30 +01:00
e2f55741aa fix(xbar/mise-updates): correctly run upgrade commands so old versions are removed 2024-06-28 22:11:46 +01:00
24f6280608 feat(xbar/mise-updates): various tweaks and enhancements 2024-05-08 23:35:11 +01:00
Jim Myhrberg
5e3beb61dc feat(xbar/mise-update): display requested version 2024-04-29 09:56:26 +01:00
284e558669 fix(xbar/mise-updated): handle no outdated tools 2024-04-28 23:11:12 +01:00
f50e41b3bb feat(xbar): add experimental mise-updates script 2024-04-28 23:00:34 +01:00
61d072a36c fix(xbar/brew-updates): show installed cask version(s) correctly
The brew outdated command recently changed the "installed_versions"
field on casks from a string to an array, bringing it in line with
formula details.

This allows it to deal with either string or array values, and show them
correctly.
2023-06-20 00:37:14 +01:00
43d8a4ad9f fix(xbar/brew-updates): fix method name typo 2023-04-06 23:24:46 +01:00
84bb6dfb80 fix(xbar/brew-updates): fix issue with formula vs cask name conflicts
When upgrading all (formulas and casks), brew would yield an error if
there's a formula and cask installed with the same name.
2023-04-04 23:13:25 +01:00
cc3121e472 chore(xbar/brew-services): minor tweaks and improvements 2023-03-21 00:46:22 +00:00
900e69a07f feat(xbar/brew-updates): few features and style changes
- Add more granular greedy options.
- Add post-run options for optionally running "brew cleanup" and/or
  "brew doctor" after operations that modify packages.
- Add new "Upgrade All: Exclude" option which simply excludes a
  formula/cask when using any of the Upgrade All operations.
- Re-style menus a bit with emoji as icons for most operations.
2023-03-21 00:37:01 +00:00
10afd47a2b fix(xbar/brew-updates): fix VAR_GREEDY config value type 2023-03-12 12:39:19 +00:00
881e5f4d12 chore(xbar): fix typo in variable name 2023-03-12 12:35:18 +00:00
86efc403d1 fix(xbar/brew-services): handle unexpected config values better
Also refactor Xbar::Config and and Brew::Common classes a bit to make
them more generic, and have more features.
2023-03-12 12:26:50 +00:00
0afaeaa9a2 fix(xbar/brew-updates): handle unexpected config values better
Also refactor Xbar::Config and and Brew::Common classes a bit to make
them more generic, and have more features.
2023-03-12 12:23:40 +00:00
4bf199c73b feat(xbar/brew-updates): support latest and auto-updates greedy options 2023-03-09 22:37:03 +00:00
ef48ac629a feat(xbar/brew-services): improve settings and style 2023-03-09 22:34:57 +00:00
14c58e849f feat(xbar/brew-updates): add greedy option that displays more cask updates 2023-02-26 18:02:58 +00:00
204a8979da fix(xbar/brew): improve brew executable detection
This should address issues on Apple Silicon based Macs.
2023-02-26 17:58:32 +00:00
e252161208 fix(xbar/brew-updates): resolve rubocop linting complaints 2023-01-29 16:03:44 +00:00
9244c7f92b fix(xbar/brew-services): handle when no brew services are installed 2023-01-29 16:01:45 +00:00
633a837682 feat(xbar/brew-updates): update image URL 2022-09-10 02:56:10 +01:00
9860b72e31 feat(xbar/brew-updates): Update Xbar module from brew-services 2022-09-10 02:37:37 +01:00
e47ef75901 feat(xbar/brew-services): major update adding hide/show feature 2022-09-10 02:33:11 +01:00
b99c188611 chore(xbar/brew-updates): simplify code for rendering alternate text 2022-03-01 18:59:18 +00:00
d8ced670f0 feat(xbar/brew-services): handle new none and scheduled statuses
Also fetch data from brew services as JSON instead of parsing the plain
text output of `brew services list`.
2022-03-01 18:54:22 +00:00
2eb2accd71 feat(xbar/brew-services): show Start command first if relevant 2022-02-07 19:25:24 +00:00
4e43aacaf1 fix(xbar/brew-updates): upgrade all actions now only update listed packages
Previously when upgrading all, no package names were passed in, meaning
if a new package has become available since the xbar script last ran,
that would be updated too.

Now instead each listed package in the xbar menu is explicitly passed to
brew.
2022-01-16 03:27:40 +00:00
a29afc1b72 fix(xbar/brew): do not bring xbar into focus when triggering plugin refresh 2021-11-26 10:36:59 +00:00
630558dce2 wip(xbar/brew-services): update xbar printer class
Adds the updated xbar printer class from brew-updates, which simplifies
the shell syntax.
2021-11-09 12:23:56 +00:00
ac48156a18 fix(xbar/brew-updates): refresh xbar plugin after update in terminal completes
Previously the xbar plugin would refresh as soon as you clicked on an
update, but since brew upgrades takes much longer to run in the popped
up terminal window. This now uses the xbar:// URI scheme to trigger a
plugin refresh after the brew commands have run in the terminal.
2021-11-09 12:08:17 +00:00
f6f1742c54 chore(xbar/brew-updates): updates screenshot URL 2021-11-02 00:22:38 +00:00
dcc0dc004b chore(xbar/brew-updates): bump version to 2.1.0 2021-11-02 00:06:38 +00:00
af076a53c2 chore(xbar/brew-services): bump version to 2.1.0 2021-11-02 00:06:03 +00:00
db56df859d feat(xbar/brew-updates): improve label tests and counts 2021-11-01 23:58:49 +00:00
ac89310eeb feat(xbar/brew-updates): move update all actions to overview status menu 2021-11-01 23:58:49 +00:00
58d4660009 feat(xbar/brew-services): support error and unknown services statuses
Also work around an issue where "brew services list" does not print the
status at all for some running services, so it instead just prints the
service name and the user it's running under.
2021-11-01 23:58:49 +00:00