From f457344171978bb18ae7e69f1d65a36e4214536b Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Wed, 30 Aug 2023 14:28:08 +0200 Subject: [PATCH] changes for python in macos --- .chezmoitemplates/zprofile_darwin.tmpl | 6 +++++- dot_config/yabai/executable_yabairc | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.chezmoitemplates/zprofile_darwin.tmpl b/.chezmoitemplates/zprofile_darwin.tmpl index 5f95b9d..26f31cc 100644 --- a/.chezmoitemplates/zprofile_darwin.tmpl +++ b/.chezmoitemplates/zprofile_darwin.tmpl @@ -5,5 +5,9 @@ export PATH=/opt/homebrew/opt/ruby/bin:/opt/homebrew/lib/ruby/gems/3.0.0/bin:/us # Added by Toolbox App export PATH="$PATH:/Users/{{ .chezmoi.username }}/Library/Application Support/JetBrains/Toolbox/scripts" - eval "$(/opt/homebrew/bin/brew shellenv)" + +# Setting PATH for Python 3.11 +# The original version is saved in .zprofile.pysave +PATH="/Library/Frameworks/Python.framework/Versions/3.11/bin:${PATH}" +export PATH diff --git a/dot_config/yabai/executable_yabairc b/dot_config/yabai/executable_yabairc index 367d785..12f0399 100644 --- a/dot_config/yabai/executable_yabairc +++ b/dot_config/yabai/executable_yabairc @@ -22,7 +22,7 @@ yabai -m rule --add app="^Mail$" space=mail yabai -m rule --add app="^Element$" space=chat yabai -m rule --add app="^Discord$" space=social grid=1:1:0:0:1:1 manage=off yabai -m rule --add app="^(Notes|Joplin)$" space=notes -yabai -m rule --add app="^(Spotify|Fineamp|Musik)$" space=media +yabai -m rule --add app="^(Spotify|Finamp|Musik)$" space=media yabai -m rule --add app="^Steam Helper$" space=games manage=off # Advanced Window rules