mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-22 09:31:34 -05:00
Remove unnecessary customizations
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
423c3fff72
commit
1e6464e217
@ -1,34 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Copyright (C) 2023 Thien Tran
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
||||||
# use this file except in compliance with the License. You may obtain a copy of
|
|
||||||
# the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
||||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
||||||
# License for the specific language governing permissions and limitations under
|
|
||||||
# the License.
|
|
||||||
|
|
||||||
#Run this as your user to set the theme
|
|
||||||
|
|
||||||
output(){
|
|
||||||
echo -e '\e[36m'"$1"'\e[0m';
|
|
||||||
}
|
|
||||||
|
|
||||||
#Enable Titlebar buttons
|
|
||||||
gsettings set org.gnome.desktop.wm.preferences button-layout 'appmenu:minimize,maximize,close'
|
|
||||||
|
|
||||||
#Setting icons
|
|
||||||
git clone https://github.com/horst3180/arc-icon-theme.git
|
|
||||||
mkdir /home/"${USER}"/.icons
|
|
||||||
ln -s /home/"${USER}"/arc-icon-theme/Arc /home/"${USER}"/.icons/
|
|
||||||
git clone https://github.com/tommytran732/Mojave-CT.git
|
|
||||||
ln -s /home/"${USER}"/Mojave-CT /home/"${USER}"/.icons/
|
|
||||||
sed -i 's/Inherits=Moka,Adwaita,gnome,hicolor/Inherits=Mojave-CT,Moka,Adwaita,gnome,hicolor/g' /home/"${USER}"/arc-icon-theme/Arc/index.theme
|
|
||||||
find /home/"${USER}"/arc-icon-theme -name '*[Tt]rash*' -exec rm {} \;
|
|
||||||
gsettings set org.gnome.desktop.interface icon-theme "Arc"
|
|
@ -208,3 +208,6 @@ if [ "$virt_type" = '' ] || [ "${MACHINE_TYPE}" == 'x86_64' ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
output 'The script is done. You can also remove gnome-terminal since gnome-console will replace it.'
|
output 'The script is done. You can also remove gnome-terminal since gnome-console will replace it.'
|
||||||
|
|
||||||
|
#Enable Titlebar buttons
|
||||||
|
gsettings set org.gnome.desktop.wm.preferences button-layout 'appmenu:minimize,maximize,close'
|
@ -136,3 +136,6 @@ sudo hostnamectl --transient hostname ''
|
|||||||
# Enable fstrim.timer
|
# Enable fstrim.timer
|
||||||
sudo apt install tuned -y
|
sudo apt install tuned -y
|
||||||
sudo systemctl enable --now fstrim.timer
|
sudo systemctl enable --now fstrim.timer
|
||||||
|
|
||||||
|
#Enable Titlebar buttons
|
||||||
|
gsettings set org.gnome.desktop.wm.preferences button-layout 'appmenu:minimize,maximize,close'
|
Loading…
Reference in New Issue
Block a user