Compare commits

..

No commits in common. '583606402436c52382a273a211f109803ed55cad' and '00966df0497f76c3af603483606a13a3303933df' have entirely different histories.

@ -1,12 +1,5 @@
#!/usr/bin/env zsh #!/usr/bin/env bash
# Original source: if [ -n "$FOCUSED_WORKSPACE" ]; then
# https://nikitabobko.github.io/AeroSpace/goodness#show-aerospace-workspaces-in-sketchybar sketchybar --set "$NAME" label="$FOCUSED_WORKSPACE"
workspaces=("${(@f)$(aerospace list-workspaces --monitor $1)}")
if (($workspaces[(Ie)$FOCUSED_WORKSPACE])); then
sketchybar --set "$NAME" label="$FOCUSED_WORKSPACE" background.drawing=on
else
sketchybar --set "$NAME" label="$FOCUSED_WORKSPACE" background.drawing=off
fi fi

@ -38,15 +38,12 @@ sketchybar --default "${default[@]}"
### Aerospace ### Aerospace
sketchybar --add event aerospace_workspace_change sketchybar --add event aerospace_workspace_change
for monitor in $(aerospace list-monitors | awk '{print $1}'); do sketchybar --add item aerospace left \
sketchybar --add item aerospace.$monitor left \ --subscribe aerospace aerospace_workspace_change \
--subscribe aerospace.$monitor aerospace_workspace_change \ --set aerospace \
--set aerospace.$monitor \ icon.drawing=off \
display=$monitor \ label="$(aerospace list-workspaces --focused)" \
icon.drawing=off \ script="$CONFIG_DIR/plugins/aerospace.sh"
label="$(aerospace list-workspaces --focused)" \
script="$CONFIG_DIR/plugins/aerospace.sh $monitor"
done
##### Adding Left Items ##### ##### Adding Left Items #####
# We add some regular items to the left side of the bar, where # We add some regular items to the left side of the bar, where

@ -1,7 +1,7 @@
### atuin ### atuin
# export ATUIN_NOBIND=true export ATUIN_NOBIND=true
# eval "$(atuin init zsh)" eval "$(atuin init zsh)"
# Reference: https://github.com/junegunn/fzf/discussions/3099 # Reference: https://github.com/junegunn/fzf/discussions/3099
fzf-atuin-history-widget() { fzf-atuin-history-widget() {

Loading…
Cancel
Save