mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
minor fix
This commit is contained in:
parent
3bfde49348
commit
4062aeab3d
8 changed files with 39 additions and 12 deletions
|
|
@ -7,8 +7,12 @@ case "Linux"
|
|||
fish_config theme choose "Catppuccin Latte"
|
||||
end
|
||||
case "Darwin"
|
||||
set SYSTEM_COLOR_SCHEME defaults read -g AppleInterfaceStyle
|
||||
echo "[TODO] Check if dark mode is enabled in macOS"
|
||||
set SYSTEM_COLOR_SCHEME (defaults read -g AppleInterfaceStyle)
|
||||
if test $SYSTEM_COLOR_SCHEME = "Dark"
|
||||
fish_config theme choose "Catppuccin Mocha"
|
||||
else
|
||||
fish_config theme choose "Catppuccin Latte"
|
||||
end
|
||||
case '*'
|
||||
fish_config theme choose "Catppuccin Mocha"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue