Complete documentation for all Crossbar CLI commands.
Version: 1.8.0 Last Updated: January 2026
- Global Options
- System Information
- Media Controls
- Audio Controls
- Screen Controls
- Power Management
- Do Not Disturb
- Bluetooth
- VPN
- Network
- Environment
- Files & Directories
- Date & Time
- Clipboard
- Utilities
- Plugin Management
- System Actions
- Platform Compatibility
These options can be added to most commands:
| Option | Description |
|---|---|
--json |
Output in JSON format |
--xml |
Output in XML format |
--version, -v |
Show version |
--help, -h |
Show help |
Running crossbar without arguments launches the GUI application.
crossbar # Launch GUI
crossbar cpu # CLI modeReturns current CPU usage calculation (0-100).
crossbar cpu
# Output: 23.5crossbar cpu --json
# Output: {"cpu":23.5}crossbar cpu --xml
# Output:
# <?xml version="1.0" encoding="UTF-8"?>
# <crossbar>
# <cpu>23.5</cpu>
# </crossbar>Platforms: Linux, macOS, Windows
Get RAM usage (used/total).
crossbar memory
# Output: 8.2 GB / 16.0 GB
crossbar memory --json
# Output: {"used":8.2,"total":16.0,"unit":"GB"}Platforms: Linux, macOS, Windows
Get battery level and charging status.
crossbar battery
# Output: 85% ⚡
crossbar battery --json
# Output: {"level":85,"charging":true}Platforms: Linux, macOS, Windows (laptops only)
Get system uptime.
crossbar uptime
# Output: 3 days, 4:23:15Platforms: Linux, macOS, Windows
Get disk usage for a path (default: root).
crossbar disk
# Output: 120 GB / 500 GB (24%)
crossbar disk /home
# Output: 80 GB / 500 GB (16%)Platforms: Linux, macOS, Windows
Get operating system information.
crossbar os
# Output: Linux 6.17.9-zen1-1-zen
crossbar os --json
# Output: {"name":"Linux","version":"6.17.9-zen1-1-zen","platform":"linux"}Platforms: Linux, macOS, Windows
Get system hostname.
crossbar hostname
# Output: my-computerPlatforms: Linux, macOS, Windows
Get current username.
crossbar username
# Output: helioPlatforms: Linux, macOS, Windows
Get kernel version.
crossbar kernel
# Output: 6.17.9-zen1-1-zenPlatforms: Linux, macOS, Windows
Get system architecture.
crossbar arch
# Output: x86_64Platforms: Linux, macOS, Windows
Get screen resolution.
crossbar screen-size
# Output: 1920x1080Platforms: Linux (X11), macOS, Windows
Get audio volume (legacy command, prefer audio volume).
crossbar volume
# Output: 75Platforms: Linux (PulseAudio), macOS
Get screen brightness (legacy command, prefer screen brightness).
crossbar brightness
# Output: 80%Platforms: Linux (backlight), macOS
Control media playback on the system.
Resume media playback.
crossbar media play
# Output: PlayingPlatforms: Linux (MPRIS), macOS (AppleScript), Windows (Media Keys)
Pause media playback.
crossbar media pause
# Output: PausedPlatforms: Linux, macOS, Windows
Toggle between play and pause.
crossbar media toggle
# Output: ToggledPlatforms: Linux, macOS, Windows
Stop media playback.
crossbar media stop
# Output: StoppedPlatforms: Linux, macOS, Windows
Skip to next track.
crossbar media next
# Output: Next trackPlatforms: Linux, macOS, Windows
Go to previous track.
crossbar media prev
# Output: Previous trackPlatforms: Linux, macOS, Windows
Seek forward or backward.
Arguments:
offset- Time offset (e.g.,+30s,-10s,+1m)
crossbar media seek +30s
# Output: Seeked +30s
crossbar media seek -15s
# Output: Seeked -15sPlatforms: Linux, macOS
Get current track information.
crossbar media playing
# Output:
# Song Title - Artist Name
# Album: Album Name
# 1:23 / 3:45
crossbar media playing --json
# Output: {
# "playing": true,
# "title": "Song Title",
# "artist": "Artist Name",
# "album": "Album Name",
# "position": "1:23",
# "duration": "3:45"
# }
crossbar media playing --xml
# Output: XML format with media root elementPlatforms: Linux, macOS, Windows
Get current volume (0-100).
crossbar audio volume
# Output: 75%
crossbar audio volume --json
# Output: {"volume":75}Platforms: Linux (PulseAudio), macOS, Windows
Set volume level (0-100).
Arguments:
level- Volume level from 0 to 100
crossbar audio volume-set 50
# Output: Volume set to 50%
crossbar audio volume-set 0
# Output: Volume set to 0%Platforms: Linux, macOS, Windows
Toggle mute state.
crossbar audio mute
# Output: Muted
crossbar audio mute # Run again
# Output: UnmutedPlatforms: Linux, macOS, Windows
Get current audio output device.
crossbar audio output
# Output: Built-in SpeakersPlatforms: Linux, macOS, Windows
List all audio output devices.
crossbar audio output --list
# Output:
# alsa_output.pci-0000_00_1f.3.analog-stereo: Built-in Audio
# bluez_sink.AA_BB_CC_DD_EE_FF: Bluetooth Headphones
crossbar audio output --list --json
# Output: [{"id":"alsa_output...","name":"Built-in Audio"},...]Platforms: Linux, macOS, Windows
Set audio output device.
Arguments:
device- Device ID (fromaudio output --list)
crossbar audio output-set alsa_output.pci-0000_00_1f.3.analog-stereo
# Output: Output set to alsa_output.pci-0000_00_1f.3.analog-stereoPlatforms: Linux, macOS, Windows
Get screen brightness (0-100).
crossbar screen brightness
# Output: 80%
crossbar screen brightness --json
# Output: {"brightness":80}Platforms: Linux (backlight), macOS
Set screen brightness (0-100).
Arguments:
level- Brightness level from 0 to 100
crossbar screen brightness-set 70
# Output: Brightness set to 70%Platforms: Linux, macOS
Take a screenshot.
Arguments:
path- Optional output path (default: auto-generated in Pictures)
Options:
--clipboard- Copy to clipboard instead of file
crossbar screenshot
# Output: Screenshot saved to: /home/user/Pictures/screenshot-2025-12-01.png
crossbar screenshot ~/Desktop/shot.png
# Output: Screenshot saved to: /home/user/Desktop/shot.png
crossbar screenshot --clipboard
# Output: Screenshot copied to clipboardPlatforms: Linux (gnome-screenshot/scrot/spectacle), macOS (screencapture), Windows (PowerShell)
Get current wallpaper path.
crossbar wallpaper get
# Output: /home/user/Pictures/wallpaper.jpgPlatforms: Linux (GNOME/KDE), macOS, Windows
Set desktop wallpaper.
Arguments:
path- Path to image file
crossbar wallpaper set ~/Pictures/new-wallpaper.jpg
# Output: Wallpaper set to /home/user/Pictures/new-wallpaper.jpgPlatforms: Linux, macOS, Windows
Suspend the system.
crossbar power sleep
# Output: System going to sleep...Platforms: Linux (systemctl), macOS (pmset), Windows (PowerShell)
Restart the system. Requires --confirm flag for safety.
crossbar power restart --confirm
# Output: System restarting...
crossbar power restart # Without --confirm
# Error: --power-restart requires --confirm flag for safetyPlatforms: Linux, macOS, Windows
Shutdown the system. Requires --confirm flag for safety.
crossbar power shutdown --confirm
# Output: System shutting down...
crossbar power shutdown # Without --confirm
# Error: --power-shutdown requires --confirm flag for safetyPlatforms: Linux, macOS, Windows
Get Do Not Disturb status.
crossbar dnd status
# Output: Do Not Disturb: OFF
crossbar dnd status --json
# Output: {"dnd":false}Platforms: Linux (GNOME), macOS, Windows
Set Do Not Disturb status.
Arguments:
on- Enable DNDoff- Disable DND
crossbar dnd set on
# Output: DND set to on
crossbar dnd set off
# Output: DND set to offPlatforms: Linux, macOS, Windows
Get Bluetooth status.
crossbar bluetooth status
# Output: Bluetooth: on
crossbar bluetooth status --json
# Output: {"bluetooth":"on"}Returns: on, off, or unavailable
Platforms: Linux (bluetoothctl), macOS, Windows
Enable Bluetooth.
crossbar bluetooth on
# Output: Bluetooth enabledPlatforms: Linux, macOS, Windows
Disable Bluetooth.
crossbar bluetooth off
# Output: Bluetooth disabledPlatforms: Linux, macOS, Windows
List paired Bluetooth devices.
crossbar bluetooth devices
# Output:
# AA:BB:CC:DD:EE:FF: Bluetooth Headphones
# 11:22:33:44:55:66: Wireless Mouse
crossbar bluetooth devices --json
# Output: [
# {"mac":"AA:BB:CC:DD:EE:FF","name":"Bluetooth Headphones"},
# {"mac":"11:22:33:44:55:66","name":"Wireless Mouse"}
# ]Platforms: Linux, macOS, Windows
Get VPN connection status.
crossbar vpn status
# Output: VPN: Connected (WireGuard)
crossbar vpn status --json
# Output: {"connected":true,"name":"WireGuard","type":"wireguard"}
crossbar vpn status --xml
# Output: XML format with vpn root elementPlatforms: Linux (nmcli/wg), macOS, Windows
Geolocate your current public IP address.
crossbar location
# Output:
# Location: Mountain View, California, US
# IP: 203.0.113.42
# Coordinates: 37.386, -122.084
# Timezone: America/Los_Angeles
# ISP: Google LLC
crossbar location --json
# Output: {"ip":"203.0.113.42","city":"Mountain View","region":"California","country":"US","latitude":37.386,"longitude":-122.084,"timezone":"America/Los_Angeles","org":"Google LLC","postal":"94035"}Platforms: Linux, macOS, Windows, Android, iOS (requires network)
Geolocate a specific IP address.
Arguments:
ip- IPv4 address to geolocate
crossbar location 8.8.8.8
# Output:
# Location: Mountain View, California, US
# IP: 8.8.8.8
# Coordinates: 37.386, -122.084
# Timezone: America/Los_Angeles
# ISP: Google LLC
crossbar location 8.8.8.8 --json
# Output: {"ip":"8.8.8.8","city":"Mountain View",...}Platforms: Linux, macOS, Windows, Android, iOS (requires network)
Convert a text address to geographic coordinates (geocoding).
Arguments:
address- Address or place name to geocode
crossbar location geocode "São Paulo, Brazil"
# Output:
# Query: São Paulo, Brazil
# Coordinates: -23.5506507, -46.6333824
# Address: São Paulo, Região Imediata de São Paulo, ...
crossbar location geocode "Tokyo" --json
# Output: {"query":"Tokyo","latitude":35.6764225,"longitude":139.6500795,"display_name":"Tokyo, Japan","type":"city"}Platforms: Linux, macOS, Windows, Android, iOS (requires network)
Convert geographic coordinates to an address (reverse geocoding).
Arguments:
lat- Latitude (decimal degrees)lon- Longitude (decimal degrees)
crossbar location reverse -23.55 -46.63
# Output:
# Address: Rua ..., São Paulo, Brazil
# Coordinates: -23.55, -46.63
# City: São Paulo
# Country: Brazil
crossbar location reverse 48.8566 2.3522 --json
# Output: {"latitude":48.8566,"longitude":2.3522,"display_name":"Paris, Île-de-France, France","city":"Paris","country":"France",...}Platforms: Linux, macOS, Windows, Android, iOS (requires network)
Get network connection status.
crossbar net status
# Output: onlineReturns: online or offline
Platforms: Linux, macOS, Windows
Get local IP address.
crossbar net ip
# Output: 192.168.1.100Platforms: Linux, macOS, Windows
Get public IP address (requires internet).
crossbar net ip --public
# Output: 203.0.113.42Platforms: Linux, macOS, Windows (requires network)
Get connected WiFi SSID.
crossbar net ssid
# Output: MyWiFiNetworkPlatforms: Linux, macOS, Windows
Ping a host and get latency.
Arguments:
host- Hostname or IP address to ping
crossbar net ping google.com
# Output: 15.2 ms
crossbar net ping 8.8.8.8
# Output: 12.8 msPlatforms: Linux, macOS, Windows
Enable WiFi.
crossbar wifi on
# Output: WiFi enabledPlatforms: Linux (nmcli), macOS, Windows
Disable WiFi.
crossbar wifi off
# Output: WiFi disabledPlatforms: Linux, macOS, Windows
Make HTTP request.
Arguments:
url- URL to request
Options:
--method <METHOD>- HTTP method (GET, POST, PUT, DELETE). Default: GET--headers <JSON>- JSON object of headers--body <DATA>- Request body--timeout <DURATION>- Timeout (e.g.,5s,1m,1h). Default: 30s
# Simple GET
crossbar web https://api.github.com/users/octocat
# POST with body
crossbar web https://api.example.com/data --method POST --body '{"key":"value"}'
# With headers
crossbar web https://api.example.com --headers '{"Authorization":"Bearer token"}'
# With timeout
crossbar web https://slow-api.com --timeout 2mPlatforms: Linux, macOS, Windows
Get home directory.
crossbar home
# Output: /home/helioPlatforms: Linux, macOS, Windows
Get temp directory.
crossbar temp
# Output: /tmpPlatforms: Linux, macOS, Windows
Get environment variable(s).
Arguments:
name- Optional variable name (all if omitted)
crossbar env PATH
# Output: /usr/bin:/bin:/usr/local/bin
crossbar env
# Output: (all environment variables)
crossbar env --json
# Output: {"PATH":"/usr/bin:...", "HOME":"/home/user", ...}Platforms: Linux, macOS, Windows
Get system locale.
crossbar locale
# Output: en_US.UTF-8Platforms: Linux, macOS, Windows
Get timezone.
crossbar timezone
# Output: BRTPlatforms: Linux, macOS, Windows
Check if file or directory exists.
Arguments:
path- Path to check
crossbar file exists /etc/passwd
# Output: true
crossbar file exists /nonexistent
# Output: false
crossbar file exists /etc/passwd --json
# Output: {"exists":true,"path":"/etc/passwd"}Platforms: Linux, macOS, Windows
Read file contents.
Arguments:
path- Path to file
crossbar file read /etc/hostname
# Output: my-computerPlatforms: Linux, macOS, Windows
Get file size.
Arguments:
path- Path to file
crossbar file size /etc/passwd
# Output: 2.34 KB
crossbar file size /etc/passwd --json
# Output: {"size":2396,"path":"/etc/passwd"}Platforms: Linux, macOS, Windows
List directory contents.
Arguments:
path- Directory path (default: current directory)
crossbar dir list
# Output:
# d Documents
# d Downloads
# - file.txt
crossbar dir list /home --json
# Output: [
# {"name":"user","path":"/home/user","type":"directory","size":4096,...},
# ...
# ]Platforms: Linux, macOS, Windows
Execute shell command.
Arguments:
command- Command to execute
crossbar exec "ls -la"
# Output: (directory listing)
crossbar exec "echo Hello World"
# Output: Hello WorldPlatforms: Linux (sh), macOS (sh), Windows (cmd)
Get current time.
Options:
--fmt <12h|24h>- Time format (default: 24h)
crossbar time
# Output: 14:30
crossbar time --fmt 12h
# Output: 02:30 PMPlatforms: Linux, macOS, Windows
Get current date.
Options:
--fmt <iso|us|eu|unix>- Date format (default: iso)
crossbar date
# Output: 2025-12-01
crossbar date --fmt us
# Output: 12/1/2025
crossbar date --fmt eu
# Output: 1/12/2025
crossbar date --fmt unix
# Output: 1733011200Platforms: Linux, macOS, Windows
Display current month calendar.
crossbar calendar
# Output:
# December 2025
# Su Mo Tu We Th Fr Sa
# 1 2 3 4 5 6
# 7 8 9 10 11 12 13
# 14 15 16 17 18 19 20
# 21 22 23 24 25 26 27
# 28 29 30 31Platforms: Linux, macOS, Windows
Start countdown timer.
Arguments:
seconds- Number of seconds
crossbar countdown 60
# Output: 1:00
crossbar countdown 300 --json
# Output: {"remaining":300,"target":"2025-12-01T14:35:00.000"}Platforms: Linux, macOS, Windows
Get clipboard content.
crossbar clipboard
# Output: (clipboard contents)Platforms: Linux (xclip), macOS (pbpaste), Windows (PowerShell)
Set clipboard content.
Arguments:
text- Text to copy
crossbar clipboard set "Hello World"
# Output: Copied to clipboardPlatforms: Linux (xclip), macOS (pbcopy), Windows (PowerShell)
Hash text with specified algorithm.
Arguments:
text- Text to hash
Options:
--algo <algorithm>- Hash algorithm (default: sha256)- Supported:
md5,sha1,sha256,sha384,sha512
- Supported:
crossbar hash "Hello World"
# Output: a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f146e
crossbar hash "Hello World" --algo md5
# Output: b10a8db164e0754105b7a99be72e3fe5
crossbar hash "Hello World" --algo sha1
# Output: 0a4d55a8d778e5022fab701977c5d840bbc486d0Platforms: Linux, macOS, Windows
Generate UUID v4.
crossbar uuid
# Output: 550e8400-e29b-41d4-a716-446655440000Platforms: Linux, macOS, Windows
Generate random number.
Arguments:
min- Minimum value (default: 0)max- Maximum value (default: 100)
crossbar random
# Output: 42
crossbar random 1 10
# Output: 7
crossbar random 100 999
# Output: 547Platforms: Linux, macOS, Windows
Encode text to base64.
Arguments:
text- Text to encode
crossbar base64 encode "Hello World"
# Output: SGVsbG8gV29ybGQ=Platforms: Linux, macOS, Windows
Decode base64 text.
Arguments:
text- Base64 text to decode
crossbar base64 decode "SGVsbG8gV29ybGQ="
# Output: Hello WorldPlatforms: Linux, macOS, Windows
Generate a QR code from text.
Arguments:
text- Text or URL to encode in the QR code
Options:
--image- Output as Base64 encoded PNG image (default: ASCII)--size <px>- Image size in pixels (default: 200, only with --image)
crossbar qr "Hello World"
# Output: (ASCII QR code using Unicode blocks)
# ██████████████ ██ ████ ██████████████
# ██ ██ ████████ ██ ██
# ...
crossbar qr "https://crossbar.dev" --json
# Output: {"data":"https://crossbar.dev","qr":"..."}
crossbar qr "https://example.com" --image
# Output: iVBORw0KGgoAAAANSUhEUgAAAMYA... (Base64 PNG)
crossbar qr "data" --image --size 300
# Output: (Base64 PNG with 300x300 pixels)Use Cases:
- Share URLs quickly in terminal
- Generate QR codes in plugins for mobile scanning
- Create QR code images for notifications or widgets
Platforms: Linux, macOS, Windows, Android, iOS
Create a new plugin from template.
Options:
--lang <language>- Plugin language (required)- Supported:
bash,python,node,dart,go,rust
- Supported:
--type <type>- Plugin type (default: custom)- Supported:
clock,monitor,status,api,custom
- Supported:
--name <name>- Plugin name (default: auto-generated)--output <dir>- Output directory (default: ~/.config/crossbar/plugins)
crossbar init --lang python --type monitor --name cpu-monitor
# Output:
# Plugin created: ~/.config/crossbar/plugins/python/cpu-monitor.10s.py
# Config file: ~/.config/crossbar/plugins/python/cpu-monitor.10s.py.schema.json
#
# Next steps:
# 1. Edit the plugin file to add your logic
# 2. Customize the config file for settings
# 3. Test with: crossbar exec "python3 ~/.config/crossbar/plugins/python/cpu-monitor.10s.py"
crossbar init --lang bash --type clock
# Output: Plugin created with 1s interval
crossbar init --lang go --type api --name weather
# Output: Plugin created with 5m intervalPlugin Type Intervals:
| Type | Interval |
|---|---|
| clock | 1s |
| monitor | 10s |
| status | 30s |
| api | 5m |
| custom | 1m |
Platforms: Linux, macOS, Windows
Install plugin from GitHub repository.
Arguments:
url- GitHub repository URL
crossbar install https://github.com/user/my-crossbar-plugin
# Output:
# Installing plugin from: https://github.com/user/my-crossbar-plugin
# Plugin installed: ~/.config/crossbar/plugins/bash/my-plugin.30s.shRequirements:
gitmust be installed- Repository must contain valid plugin files
Platforms: Linux, macOS, Windows
Send desktop notification.
Arguments:
title- Notification titlemessage- Notification message
Options:
--icon <icon>- Icon path or name--priority <level>- Priority:low,normal,critical
crossbar notify "Build Complete" "All tests passed!"
# Output: Notification sent
crossbar notify "Warning" "Disk space low" --priority critical
# Output: Notification sent
crossbar notify "Update" "New version available" --icon software-update
# Output: Notification sentPlatforms: Linux (notify-send), macOS (osascript), Windows (PowerShell)
Open URL in default browser.
Arguments:
url- URL to open
crossbar open url https://github.com
# Output: Opened: https://github.qkg1.topPlatforms: Linux (xdg-open), macOS (open), Windows (start)
Open file with default application.
Arguments:
path- File path
crossbar open file ~/Documents/report.pdf
# Output: Opened: /home/user/Documents/report.pdfPlatforms: Linux, macOS, Windows
Launch application by name.
Arguments:
name- Application name
crossbar open app firefox
# Output: Launched: firefox
crossbar open app "Visual Studio Code"
# Output: Launched: Visual Studio CodePlatforms: Linux, macOS, Windows
Get number of running processes.
crossbar process count
# Output: 247Platforms: Linux, macOS, Windows
| Command | Linux | macOS | Windows |
|---|---|---|---|
| System Info | |||
| cpu | ✅ | ✅ | ✅ |
| memory | ✅ | ✅ | ✅ |
| battery | ✅ | ✅ | ✅ |
| uptime | ✅ | ✅ | ✅ |
| disk | ✅ | ✅ | ✅ |
| os | ✅ | ✅ | ✅ |
| hostname | ✅ | ✅ | ✅ |
| username | ✅ | ✅ | ✅ |
| kernel | ✅ | ✅ | ✅ |
| arch | ✅ | ✅ | ✅ |
| screen-size | ✅ (X11) | ✅ | ✅ |
| volume | ✅ (PA) | ✅ | |
| brightness | ✅ | ✅ | ❌ |
| Media Controls | |||
| media-* | ✅ (MPRIS) | ✅ | ✅ |
| Audio Controls | |||
| audio-* | ✅ (PA) | ✅ | ✅ |
| Screen Controls | |||
| screen-brightness | ✅ | ✅ | |
| screenshot | ✅ | ✅ | ✅ |
| wallpaper-* | ✅ | ✅ | ✅ |
| Power | |||
| power-* | ✅ | ✅ | ✅ |
| DND | |||
| dnd-* | ✅ (GNOME) | ✅ | |
| Bluetooth | |||
| bluetooth-* | ✅ | ✅ | ✅ |
| VPN | |||
| vpn-status | ✅ | ✅ | ✅ |
| Location | |||
| location | ✅ | ✅ | ✅ |
| location geocode | ✅ | ✅ | ✅ |
| location reverse | ✅ | ✅ | ✅ |
| Network | |||
| net-* | ✅ | ✅ | ✅ |
| wifi-* | ✅ | ✅ | ✅ |
| web | ✅ | ✅ | ✅ |
| Environment | |||
| All | ✅ | ✅ | ✅ |
| Files | |||
| All | ✅ | ✅ | ✅ |
| Date/Time | |||
| All | ✅ | ✅ | ✅ |
| Clipboard | |||
| clipboard | ✅ (xclip) | ✅ | ✅ |
| clipboard-set | ✅ (xclip) | ✅ | ✅ |
| Utilities | |||
| All | ✅ | ✅ | ✅ |
| Plugin Mgmt | |||
init |
✅ | ✅ | ✅ |
install |
✅ | ✅ | ✅ |
| System Actions | |||
| notify | ✅ | ✅ | ✅ |
| open-* | ✅ | ✅ | ✅ |
| process-count | ✅ | ✅ | ✅ |
Legend:
- ✅ Full support
⚠️ Partial support / may require additional setup- ❌ Not supported
- (PA) = PulseAudio required
- (MPRIS) = MPRIS D-Bus required
- (X11) = X11 required (Wayland support varies)
- (GNOME) = GNOME desktop required
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Error (invalid arguments, command failed, etc.) |
# Morning check
crossbar battery
crossbar net status
crossbar dnd set off
# Development
crossbar notify "Build Started" "Running tests..."
crossbar exec "npm test"
crossbar notify "Build Complete" "All tests passed!"
# Media control
crossbar media play-pause
crossbar audio volume-set 30
# End of day
crossbar dnd set on
crossbar power sleep#!/bin/bash
# Battery warning script
LEVEL=$(crossbar battery --json | jq '.level')
if [ "$LEVEL" -lt 20 ]; then
crossbar notify "Low Battery" "Battery at $LEVEL%" --priority critical
fi# Create new plugin
crossbar init --lang python --type monitor --name disk-usage
# Test it
crossbar exec "python3 ~/.config/crossbar/plugins/python/disk-usage.10s.py"
# Install community plugin
crossbar install https://github.com/example/crossbar-weather-pluginTotal Commands: ~79 commands across 18 categories
See Also: