Корректировка установщика темы для mate
This commit is contained in:
parent
d6344eb7bd
commit
89086689c8
@ -1,41 +1,34 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
. "../src/01-common.sh" || exit 5
|
echo
|
||||||
title "Installing theme..."
|
echo "==============================================="
|
||||||
|
echo "Installing theme..."
|
||||||
|
echo "==============================================="
|
||||||
|
echo
|
||||||
|
|
||||||
# theme
|
# theme
|
||||||
# sudo cp -R ../theme/Budgie /usr/share/themes/Budgie
|
sudo cp -R ../theme/Budgie /usr/share/themes/Budgie
|
||||||
|
|
||||||
# cursor
|
# cursor
|
||||||
# sudo cp -R ../theme/Bridge /usr/share/icons/Bridge
|
sudo cp -R ../theme/Bridge /usr/share/icons/Bridge
|
||||||
# sudo cp -R ../theme/Capitaine /usr/share/icons/Capitaine
|
sudo cp -R ../theme/Capitaine /usr/share/icons/Capitaine
|
||||||
|
|
||||||
# icons
|
# icons
|
||||||
# if installed "git"; then
|
if installed "git"; then
|
||||||
sudo git clone https://github.com/PapirusDevelopmentTeam/papirus-icon-theme.git /usr/src/papirus
|
sudo git clone https://github.com/PapirusDevelopmentTeam/papirus-icon-theme.git /usr/src/papirus
|
||||||
<<<<<<< HEAD:theme/install.sh
|
|
||||||
else
|
else
|
||||||
sudo wget https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/archive/master.zip -O /usr/src/papirus.zip
|
sudo wget https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/archive/master.zip -O /usr/src/papirus.zip
|
||||||
sudo unzip /usr/src/papirus.zip -d /usr/src/papirus
|
sudo unzip /usr/src/papirus.zip -d /usr/src/papirus
|
||||||
sudo rm -f /usr/src/papirus.zip
|
sudo rm -f /usr/src/papirus.zip
|
||||||
fi
|
fi
|
||||||
sudo chown -R anthony: /usr/src/papirus
|
sudo ln -s /usr/src/papirus/ePapirus /usr/share/icons/ePapirus
|
||||||
|
|
||||||
=======
|
|
||||||
# else
|
|
||||||
# sudo wget https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/archive/master.zip -O /usr/src/papirus.zip
|
|
||||||
# sudo unzip /usr/src/papirus.zip -d /usr/src/papirus
|
|
||||||
# sudo rm -f /usr/src/papirus.zip
|
|
||||||
# fi
|
|
||||||
>>>>>>> 80482acf7ae67d27edcc5d00c9836e94016f0fed:install/010-theme.sh
|
|
||||||
# sudo ln -s /usr/src/papirus/ePapirus /usr/share/icons/ePapirus
|
|
||||||
sudo ln -s /usr/src/papirus/Papirus /usr/share/icons/Papirus
|
sudo ln -s /usr/src/papirus/Papirus /usr/share/icons/Papirus
|
||||||
sudo ln -s /usr/src/papirus/Papirus-Dark /usr/share/icons/Papirus-Dark
|
sudo ln -s /usr/src/papirus/Papirus-Dark /usr/share/icons/Papirus-Dark
|
||||||
sudo ln -s /usr/src/papirus/Papirus-Light /usr/share/icons/Papirus-Light
|
sudo ln -s /usr/src/papirus/Papirus-Light /usr/share/icons/Papirus-Light
|
||||||
|
|
||||||
# dconf write /org/mate/marco/general/theme "'Budgie'"
|
dconf write /org/mate/marco/general/theme "'Budgie'"
|
||||||
# dconf write /org/mate/desktop/interface/gtk-theme "'Budgie'"
|
dconf write /org/mate/desktop/interface/gtk-theme "'Budgie'"
|
||||||
# dconf write /org/mate/desktop/interface/icon-theme "'Papirus-Dark'"
|
dconf write /org/mate/desktop/interface/icon-theme "'Papirus-Dark'"
|
||||||
# dconf write /org/mate/desktop/peripherals/mouse/cursor-theme "'Capitaine'"
|
dconf write /org/mate/desktop/peripherals/mouse/cursor-theme "'Capitaine'"
|
||||||
# dconf write /org/mate/desktop/peripherals/mouse/cursor-size 20
|
dconf write /org/mate/desktop/peripherals/mouse/cursor-size 20
|
||||||
# dconf write /org/mate/notification-daemon/theme "'coco'"
|
dconf write /org/mate/notification-daemon/theme "'coco'"
|
||||||
# dconf write /org/mate/notification-daemon/popup-location "'top_right'"
|
dconf write /org/mate/notification-daemon/popup-location "'top_right'"
|
||||||
|
Loading…
Reference in New Issue
Block a user