Minor fixes

This commit is contained in:
js0ny 2025-04-16 20:33:09 +01:00
parent 94461cdebb
commit 78400e4a6a
8 changed files with 12 additions and 11 deletions

View file

@ -2,13 +2,13 @@ switch (uname)
case "Linux"
set SYSTEM_COLOR_SCHEME (gsettings get org.gnome.desktop.interface color-scheme)
if test $SYSTEM_COLOR_SCHEME = "'prefer-dark'"
set -g fish_config_theme "Catppuccin Mocha"
fish_config theme choose "Catppuccin Mocha"
else
set -g fish_config_theme "Catppuccin Latte"
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"
case '*'
set -g fish_config_theme "Catppuccin Mocha"
fish_config theme choose "Catppuccin Mocha"
end