yabai: add homebrew paths to autostart
previously yabai wouldn't be able to start up jankyborders or sketchybar as a service as the appropriate paths weren't in $PATH.
This commit is contained in:
parent
04d59f9488
commit
7459632648
1 changed files with 3 additions and 2 deletions
|
|
@ -5,9 +5,9 @@ yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
|
|||
sudo yabai --load-sa
|
||||
|
||||
# Sketchybar Intergration
|
||||
if command -v "sketchybar"; then
|
||||
if [ -f "/opt/homebrew/bin/sketchybar" ]; then
|
||||
yabai -m config menubar_opacity 0.0
|
||||
sketchybar & disown
|
||||
/opt/homebrew/bin/sketchybar & disown
|
||||
yabai -m signal --remove "sketchybar_space_change" 2>/dev/null
|
||||
yabai -m signal --remove "sketchybar_front_app" 2>/dev/null
|
||||
|
||||
|
|
@ -17,6 +17,7 @@ if command -v "sketchybar"; then
|
|||
fi
|
||||
|
||||
# autostart
|
||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
borders active_color=0xfff74f9e inactive_color=0xffffa8f1 width=6.0 & disown
|
||||
sh ~/.cache/matugen-jankyborders.sh & disown
|
||||
skhd & disown
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue