Fix relpath for mode and add initial Sway support
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
parent
372f00f34b
commit
07b4654767
|
@ -1 +1 @@
|
||||||
/Users/ambrose/.config/kitty/colorscheme.dark.conf
|
colorscheme.dark.conf
|
|
@ -68,7 +68,7 @@ iterm2.run_until_complete(main)
|
||||||
change_kitty_theme() {
|
change_kitty_theme() {
|
||||||
mode=($@)
|
mode=($@)
|
||||||
rm ~/.config/kitty/colorscheme.conf
|
rm ~/.config/kitty/colorscheme.conf
|
||||||
ln -s ~/.config/kitty/colorscheme.${mode[4]}.conf ~/.config/kitty/colorscheme.conf
|
ln -s colorscheme.${mode[4]}.conf ~/.config/kitty/colorscheme.conf
|
||||||
kitty @ set-colors -a ~/.config/kitty/colorscheme.conf
|
kitty @ set-colors -a ~/.config/kitty/colorscheme.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -86,8 +86,10 @@ if [[ -z $mode ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$(uname -s)" == "Darwin" ]]; then
|
||||||
change_system_theme $mode
|
change_system_theme $mode
|
||||||
change_yabai_theme $mode
|
change_yabai_theme $mode
|
||||||
|
fi
|
||||||
if [[ "$TERM_PROGRAM" == "iTerm.app" ]]; then
|
if [[ "$TERM_PROGRAM" == "iTerm.app" ]]; then
|
||||||
change_iterm2_theme $mode
|
change_iterm2_theme $mode
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue