Make kitty optional in updatecolors script
This commit is contained in:
parent
6720827d61
commit
e9f4247a44
1 changed files with 6 additions and 2 deletions
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
if [ -f "$HOME/.dark" ]
|
if [ -f "$HOME/.dark" ]
|
||||||
then
|
then
|
||||||
sed -i -e 's/kitty_light.conf/kitty_dark.conf/' $HOME/.config/kitty/kitty.conf
|
if [ -f $HOME/.config/kitty/kitty.conf ]
|
||||||
|
then sed -i -e 's/kitty_light.conf/kitty_dark.conf/' $HOME/.config/kitty/kitty.conf
|
||||||
|
fi
|
||||||
# Mint
|
# Mint
|
||||||
theme='Mint-Y-Dark-Pink'
|
theme='Mint-Y-Dark-Pink'
|
||||||
gsettings set org.cinnamon.desktop.background picture-uri "file://$HOME/wallpaper/dark.png"
|
gsettings set org.cinnamon.desktop.background picture-uri "file://$HOME/wallpaper/dark.png"
|
||||||
|
@ -17,7 +19,9 @@ then
|
||||||
gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
|
gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
|
||||||
theme=dark
|
theme=dark
|
||||||
else
|
else
|
||||||
sed -i -e 's/kitty_dark.conf/kitty_light.conf/' $HOME/.config/kitty/kitty.conf
|
if [ -f $HOME/.config/kitty/kitty.conf ]
|
||||||
|
then sed -i -e 's/kitty_dark.conf/kitty_light.conf/' $HOME/.config/kitty/kitty.conf
|
||||||
|
fi
|
||||||
theme='Mint-Y-Dark-Pink'
|
theme='Mint-Y-Dark-Pink'
|
||||||
# Mint
|
# Mint
|
||||||
gsettings set org.cinnamon.desktop.background picture-uri "file://$HOME/wallpaper/light.png"
|
gsettings set org.cinnamon.desktop.background picture-uri "file://$HOME/wallpaper/light.png"
|
||||||
|
|
Loading…
Reference in a new issue