one-dark/update-theme.sh

28 lines
880 B
Bash
Executable File

# 控件主题
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"
# 鼠标主题
# gsettings set org.cinnamon.desktop.interface cursor-theme "Adwaita"
# 图标主题
# gsettings set org.cinnamon.desktop.interface icon-theme "Mint-Y"
# 桌面主题
# 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"
# 窗口主题
# 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"
Cinnamon 主题 (版本 >= 5.2)
CSS 38.8%
SCSS 34.1%
C 26.4%
JavaScript 0.4%
Shell 0.3%