dotfiles/yabai/toggle_outline.bash
Akemi Izuko f6881cea7a
Init again
The dotfiles are back
2022-09-06 23:34:19 -06:00

14 lines
338 B
Bash
Executable file

#!/usr/bin/env bash
# Turns on outline and turns off shadows in bsp spaces. Leaves them on for
# floating spaces
if [[ "$(yabai -m query --spaces --space | jq '.type')" =~ bsp ]]; then
yabai -m config window_shadow off
yabai -m config window_border on
else
yabai -m config window_shadow on
yabai -m config window_border off
fi