fix adwaita themer
This commit is contained in:
parent
4c141d749a
commit
54f3338a3c
@ -13,14 +13,15 @@ if echo $THEME | grep -i orchis
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ -f $HOME/.config/pika_theme ]
|
if [ -f $HOME/.config/pika_theme ]
|
||||||
|
. "$HOME/.config/pika_theme"
|
||||||
then
|
then
|
||||||
if [[ $1 = dark ]]
|
if [[ $1 = dark ]]
|
||||||
then
|
then
|
||||||
kvantummanager --set $(cat $HOME/.config/pika_theme | grep 'KVANTUM_THEME_DARK=' | head -n1 | sed "s#KVANTUM_THEME_DARK=##")
|
kvantummanager --set $KVANTUM_THEME_DARK
|
||||||
cp -rfv $(cat $HOME/.config/pika_theme | grep 'GTK_THEME_PATH_DARK=' | head -n1 | sed "s#GTK_THEME_PATH_DARK=##")/gtk-4.0 $HOME/.config/
|
cp -rfv $GTK_THEME_PATH_DARK/gtk-4.0 $HOME/.config/
|
||||||
else
|
else
|
||||||
kvantummanager --set $(cat $HOME/.config/pika_theme | grep 'KVANTUM_THEME_LIGHT=' | head -n1 | sed "s#KVANTUM_THEME_LIGHT=##")
|
kvantummanager --set $KVANTUM_THEME_LIGHT
|
||||||
cp -rfv $(cat $HOME/.config/pika_theme | grep 'GTK_THEME_PATH_LIGHT=' | head -n1 | sed "s#GTK_THEME_PATH_LIGHT=##")/gtk-4.0 $HOME/.config/
|
cp -rfv $GTK_THEME_PATH_LIGHT/gtk-4.0 $HOME/.config/
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user