diff --git a/stow/.config/sketchybar/plugins/space.sh b/stow/.config/sketchybar/plugins/space.sh deleted file mode 120000 index 9836491..0000000 --- a/stow/.config/sketchybar/plugins/space.sh +++ /dev/null @@ -1 +0,0 @@ -aerospace.sh \ No newline at end of file diff --git a/stow/.config/sketchybar/plugins/space.sh b/stow/.config/sketchybar/plugins/space.sh new file mode 100755 index 0000000..aec9596 --- /dev/null +++ b/stow/.config/sketchybar/plugins/space.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +source $SCRIPT_DIR/../colours.sh + +if [ $SELECTED = 'true' ]; then + sketchybar --set $NAME background.color=$PRIMARY_COLOUR label.color=$BACKGROUND_COLOUR +else + sketchybar --set $NAME background.color=$BACKGROUND_COLOUR label.color=$PRIMARY_COLOUR +fi diff --git a/stow/.config/yabai/yabairc b/stow/.config/yabai/yabairc index 371c12f..c4945f0 100644 --- a/stow/.config/yabai/yabairc +++ b/stow/.config/yabai/yabairc @@ -39,7 +39,7 @@ yabai -m config right_padding 12 yabai -m config window_gap 12 # mouse support -yabai -m config mouse_modifier alt # set mouse interaction modifier key +yabai -m config mouse_modifier ctrl # set mouse interaction modifier key yabai -m config mouse_action1 move # set modifier + left-click drag to move window yabai -m config mouse_action2 resize # set modifier + right-click drag to resize window yabai -m config focus_follows_mouse autofocus # disabled while holding mouse modifier (eg. for menubar)