yabai: init
This commit is contained in:
parent
e3677357e0
commit
beaf8a5754
6 changed files with 164 additions and 16 deletions
|
|
@ -66,6 +66,32 @@ for sid in $(aerospace list-workspaces --all); do
|
|||
done
|
||||
# background.corner_radius=0 \
|
||||
|
||||
|
||||
|
||||
# Yabai Workspace Indictators
|
||||
#
|
||||
SPACE_ICONS=("1" "2" "3" "4" "5" "6" "7" "8" "9")
|
||||
for i in "${!SPACE_ICONS[@]}"
|
||||
do
|
||||
sid="$(($i+1))"
|
||||
space=(
|
||||
space="$sid"
|
||||
icon="${SPACE_ICONS[i]}"
|
||||
background.drawing=true \
|
||||
icon.drawing=false \
|
||||
background.height=28 \
|
||||
background.border_width=0 \
|
||||
background.padding_right=0 \
|
||||
background.padding_left=0 \
|
||||
label.color=$PRIMARY_COLOUR \
|
||||
label="$sid" \
|
||||
script="$PLUGIN_DIR/space.sh"
|
||||
click_script="yabai -m space --focus $sid"
|
||||
)
|
||||
sketchybar --add space space."$sid" left --set space."$sid" "${space[@]}"
|
||||
done
|
||||
|
||||
|
||||
# Focused window title
|
||||
sketchybar --add item front_app left \
|
||||
--set front_app icon=" " \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue