mirror of
https://github.com/mr0xb/dotfiles.git
synced 2026-08-27 19:34:57 -04:00
updates
This commit is contained in:
parent
bc4d4c403a
commit
715eb53860
57 changed files with 7755 additions and 3 deletions
46
.config/sketchybar/items/menu_items.sh
Executable file
46
.config/sketchybar/items/menu_items.sh
Executable file
|
|
@ -0,0 +1,46 @@
|
|||
#!/bin/bash
|
||||
|
||||
source "$CONFIG_DIR/colors.sh"
|
||||
|
||||
# Control Center style menu items
|
||||
# These will be positioned to the right of the workspaces
|
||||
|
||||
# Bluetooth
|
||||
bluetooth=(
|
||||
script="$PLUGIN_DIR/bluetooth.sh"
|
||||
icon=""
|
||||
icon.font="0xProto Nerd Font Mono:Bold:18.0"
|
||||
icon.color=0xffffffff
|
||||
label.drawing=off
|
||||
update_freq=10
|
||||
click_script="open 'x-apple.systempreferences:com.apple.BluetoothSettings'"
|
||||
)
|
||||
|
||||
# AirDrop
|
||||
airdrop=(
|
||||
icon=""
|
||||
icon.font="0xProto Nerd Font Mono:Bold:18.0"
|
||||
icon.color=0xffffffff
|
||||
label.drawing=off
|
||||
click_script="open 'x-apple.systempreferences:com.apple.AirDrop-Handoff-Settings'"
|
||||
)
|
||||
|
||||
# Focus/Do Not Disturb
|
||||
focus=(
|
||||
script="$PLUGIN_DIR/focus.sh"
|
||||
icon=""
|
||||
icon.font="0xProto Nerd Font Mono:Bold:18.0"
|
||||
icon.color=0xffffffff
|
||||
label.drawing=off
|
||||
update_freq=30
|
||||
click_script="shortcuts run 'Toggle Focus'"
|
||||
)
|
||||
|
||||
sketchybar --add item bluetooth right \
|
||||
--set bluetooth "${bluetooth[@]}" \
|
||||
\
|
||||
--add item airdrop right \
|
||||
--set airdrop "${airdrop[@]}" \
|
||||
\
|
||||
--add item focus right \
|
||||
--set focus "${focus[@]}"
|
||||
Loading…
Reference in a new issue