mirror of
https://github.com/mr0xb/dotfiles.git
synced 2026-08-27 19:34:57 -04:00
18 lines
492 B
Shell
Executable file
18 lines
492 B
Shell
Executable file
#!/bin/bash
|
|
|
|
source "$CONFIG_DIR/colors.sh"
|
|
source "$CONFIG_DIR/icons.sh"
|
|
|
|
volume=(
|
|
script="$PLUGIN_DIR/volume.sh"
|
|
icon.color=0xffffffff
|
|
icon.font="0xProto Nerd Font Mono:Bold:18.0"
|
|
label.color=0xffffffff
|
|
label.font="0xProto Nerd Font Mono:Bold:15.0"
|
|
click_script="open -a 'Audio MIDI Setup'"
|
|
scroll_script="$PLUGIN_DIR/volume_scroll.sh"
|
|
)
|
|
|
|
sketchybar --add item volume right \
|
|
--set volume "${volume[@]}" \
|
|
--subscribe volume volume_change mouse.scrolled
|