xbar-plugins
xbar-plugins copied to clipboard
Plugin repository for xbar (the BitBar reboot)
Mainly because Deno's module system uses modules referenced as URLs instead of a system like npm I think that Deno is a much better runtime for writing xbar plugins in...
I could not make xbar to work with those placeholders, but real emojis work fine.
for @jtokoph - `head -c 36` broke last character for non-latin string Using `cut -c1-36` will fix it
fao @srdgh - I get an error when running the Homebrew cask plugin 
fao @eripa - Getting `KeyError: sppower_current_amperage` on a 2019 MacBook Pro running Monteray. Duplicate of https://github.com/matryer/xbar-plugins/issues/1176
imac:~ ssbarnea$ /Users/ssbarnea/Library/Mobile\ Documents/com~apple~CloudDocs/configs/bitbar/watt-meter.20s.py Traceback (most recent call last): File "/Users/ssbarnea/Library/Mobile Documents/com~apple~CloudDocs/configs/bitbar/watt-meter.20s.py", line 78, in main() File "/Users/ssbarnea/Library/Mobile Documents/com~apple~CloudDocs/configs/bitbar/watt-meter.20s.py", line 65, in main machine = parse_system_profiler() File "/Users/ssbarnea/Library/Mobile Documents/com~apple~CloudDocs/configs/bitbar/watt-meter.20s.py", line...
Change the python call to python 3 and use shlex.quote on PATH_TO_SCRIPT otherwise the call and script breaks due to the space in 'Application Support'
#!/bin/sh reminder=$(osascript -e 'tell application "Reminders" set activeReminders to (reminders of list "测试" whose completed is true) set numOfActiveReminders to (count of activeReminders) set allReminders to (reminders of list "测试")...
fao @copland - '/Users/USER/Library/Application Support/xbar/plugins/001-kubecontext.1s.py' Traceback (most recent call last): File "/Users/USER/Library/Application Support/xbar/plugins/001-kubecontext.1s.py", line 60, in CONTEXTS = load_contexts() File "/Users/luc/Library/Application Support/xbar/plugins/001-kubecontext.1s.py", line 34, in load_contexts lines = out.split('\n') TypeError:...
This plugin is inspired by the `Amazon EC2 Instance Start/Stop plugin` from Francis Mak. It allows to list, start, stop and get the status of Google Cloud instances.