one-dark/update-theme.sh

28 lines
860 B
Bash
Raw Normal View History

2022-05-05 00:11:07 +08:00
# 控件主题
2022-05-13 18:38:41 +08:00
echo "重置控件主题……"
gsettings set org.cinnamon.desktop.interface gtk-theme "Mint-Y"
echo "重置完成, 0.5秒之后, 修改为one-dark"
sleep 0.5
gsettings set org.cinnamon.desktop.interface gtk-theme "one-dark"
2022-05-05 00:11:07 +08:00
# 鼠标主题
2022-05-05 19:53:15 +08:00
# gsettings set org.cinnamon.desktop.interface cursor-theme "Adwaita"
2022-05-05 00:11:07 +08:00
# 图标主题
2022-05-05 19:53:15 +08:00
# gsettings set org.cinnamon.desktop.interface icon-theme "Mint-Y"
2022-05-05 00:11:07 +08:00
# 桌面主题
2022-06-07 15:36:32 +08:00
echo "重置桌面主题……"
gsettings set org.cinnamon.theme name "Mint-Y"
echo "重置完成, 0.5秒之后, 修改为one-dark"
sleep 0.5
gsettings set org.cinnamon.theme name "one-dark"
2022-05-05 00:11:07 +08:00
# 窗口主题
2022-06-07 15:36:32 +08:00
echo "重置窗口主题……"
gsettings set org.cinnamon.desktop.wm.preferences theme "Mint-Y"
echo "重置完成, 0.5秒之后, 修改为one-dark"
sleep 0.5
gsettings set org.cinnamon.desktop.wm.preferences theme "one-dark"