Closed exculibar closed 5 months ago
This is awesome @exculibar! Was able to get it working on my mac after running make install
and renaming lima-plugin
to lima-plugin.sf_simple.10s
.
Were you able to get the XBARDarkMode
env var to work? Looks like an open issue upstream: https://github.com/matryer/xbar/issues/734.
I tried
export XBARDarkMode=true
open -a xbar
and it still showed the xbar-light
icons which doesn't look great on my menu bar. Hard-coding to
plugin_type = (
# "xbar-dark" if os.environ.get("XBARDarkMode") == "true" else "xbar-light"
"xbar-dark"
)
works as expected.
This is awesome @exculibar! Was able to get it working on my mac after running
make install
and renaminglima-plugin
tolima-plugin.sf_simple.10s
.Were you able to get the
XBARDarkMode
env var to work? Looks like an open issue upstream: matryer/xbar#734.I tried
export XBARDarkMode=true open -a xbar
and it still showed the
xbar-light
icons which doesn't look great on my menu bar. Hard-coding toplugin_type = ( # "xbar-dark" if os.environ.get("XBARDarkMode") == "true" else "xbar-light" "xbar-dark" )
works as expected.
Hi, @pythoninthegrass The new macOS Topbar dark mode appears to mimic the wallpaper's color, but xbar's XBARDarkMode environment variable adheres to the system settings, overriding any user-defined setting for that variable. Unfortunately, xbar doesn't provide a Light/Dark mode API specifically for the Topbar, so I can't resolve this issue at present. You might try switching to wallpapers with different dark or light styles, or use SwiftBar, which adjusts automatically based on the Topbar's Light/Dark mode.
Description
Two additional sets of icon themes were created based on the original icons, and support loading specified themes based on file names.
Rename the plugin file to lima-plugin.[theme].[time_ext] to switch to the specified theme
e.g.
Theme default:
Theme text:
Theme sf_simple:
Type of changes
Checklist
License Acceptance