Skip to content

Conversation

@qusaismael
Copy link

@qusaismael qusaismael commented Jun 10, 2025

image
image

# If you installed yabai or aerospace without using Homebrew,
# manually set the path to the binary. For example:
#
# yabai.path = "/run/current-system/sw/bin/yabai"
# aerospace.path = ...

theme = "dark" # system, light, dark

[widgets]
displayed = [ # widgets on menu bar
    "default.spaces",
    "spacer",
    "default.network",
    "default.battery",
    "default.volume",
    "default.brightness", 
    "default.microphone",
    "divider",
    # { "default.time" = { time-zone = "America/Los_Angeles", format = "E d, hh:mm" } },
    "default.time",
    "default.nowplaying",
    { "default.cpuram" = { show-icon = true } },
    "default.networkactivity",
    #"default.systembanner" # This widget internally manages ChangelogBanner and UpdateBanner
]

[widgets.default.spaces]
space.show-key = true        # show space number (or character, if you use AeroSpace)
window.show-title = true
window.title.max-length = 50

[widgets.default.battery]
show-percentage = true
warning-level = 30
critical-level = 10

[widgets.default.volume]
show-percentage = false      # show volume percentage next to icon

[widgets.default.brightness]
show-percentage = false      # show brightness percentage next to icon

[widgets.default.microphone]
# No specific configuration options - shows microphone active status

[widgets.default.time]
format = "E d, J:mm"
calendar.format = "J:mm"

calendar.show-events = true
# calendar.allow-list = ["Home", "Personal"] # show only these calendars
# calendar.deny-list = ["Work", "Boss"] # show all calendars except these

[widgets.default.cpuram]
show-icon = false
cpu-warning-level = 70
cpu-critical-level = 90
ram-warning-level = 70
ram-critical-level = 90

[widgets.default.networkactivity]
# No specific configuration options yet

[popup.default.time]
view-variant = "box"

[background]
enabled = true

@qusaismael
Copy link
Author

image

@qusaismael
Copy link
Author

image

now when idle, nearly 20 wakes per second on avg, better than before.

Widget Update Intervals by Power Mode

Widget Battery Saver Balanced Max Performance
Spaces 5.0s 2.0s 0.1s
Now Playing 5.0s 3.0s 0.3s
Audio 10.0s 5.0s 0.5s
System Monitor 10.0s 5.0s 1.0s
Battery 30.0s 10.0s 1.0s
Keyboard 10.0s 5.0s 2.0s
Time 5.0s 2.0s 1.0s

@mocki-toki
Copy link
Owner

Thank you very much for your contribution! I like how neatly and natively the work has been done!

I’ll try to release a barik update soon, in which I’ve added several new widgets. One of them is designed for selecting the audio device in use. Keep this in mind if you plan to propose similar functionality as part of a PR.

SCR-20250611-tuqo

@xrhstosmour
Copy link

Consider adding a Bluetooth widget too ?


```sh
brew install --cask mocki-toki/formulae/barik
brew install --cask qusaismael/barik
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doesn't seem this tap works

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this was as a temporary solution until the pull request be reviewed, for anyone wants the beta edition of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants