From 89086689c8e44e3e8209e58f5e92d14b056e433c Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Sun, 9 Jan 2022 17:05:31 +0800 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D1=80=D1=80=D0=B5=D0=BA=D1=82?= =?UTF-8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=BA=D0=B0=20=D1=83=D1=81=D1=82=D0=B0?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D1=89=D0=B8=D0=BA=D0=B0=20=D1=82=D0=B5=D0=BC?= =?UTF-8?q?=D1=8B=20=D0=B4=D0=BB=D1=8F=20mate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- theme/install.sh | 41 +++++++++++++++++------------------------ 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/theme/install.sh b/theme/install.sh index b70fd4b..90f204b 100755 --- a/theme/install.sh +++ b/theme/install.sh @@ -1,41 +1,34 @@ #!/bin/bash -. "../src/01-common.sh" || exit 5 -title "Installing theme..." +echo +echo "===============================================" +echo "Installing theme..." +echo "===============================================" +echo # theme -# sudo cp -R ../theme/Budgie /usr/share/themes/Budgie +sudo cp -R ../theme/Budgie /usr/share/themes/Budgie # cursor -# sudo cp -R ../theme/Bridge /usr/share/icons/Bridge -# sudo cp -R ../theme/Capitaine /usr/share/icons/Capitaine +sudo cp -R ../theme/Bridge /usr/share/icons/Bridge +sudo cp -R ../theme/Capitaine /usr/share/icons/Capitaine # icons -# if installed "git"; then +if installed "git"; then sudo git clone https://github.com/PapirusDevelopmentTeam/papirus-icon-theme.git /usr/src/papirus -<<<<<<< HEAD:theme/install.sh 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 -sudo chown -R anthony: /usr/src/papirus - -======= -# 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/ePapirus /usr/share/icons/ePapirus 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-Light /usr/share/icons/Papirus-Light -# dconf write /org/mate/marco/general/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/peripherals/mouse/cursor-theme "'Capitaine'" -# dconf write /org/mate/desktop/peripherals/mouse/cursor-size 20 -# dconf write /org/mate/notification-daemon/theme "'coco'" -# dconf write /org/mate/notification-daemon/popup-location "'top_right'" +dconf write /org/mate/marco/general/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/peripherals/mouse/cursor-theme "'Capitaine'" +dconf write /org/mate/desktop/peripherals/mouse/cursor-size 20 +dconf write /org/mate/notification-daemon/theme "'coco'" +dconf write /org/mate/notification-daemon/popup-location "'top_right'"