From 1e6464e2170f43b3eb7a0fed89a82025feea35c8 Mon Sep 17 00:00:00 2001 From: Tommy Date: Thu, 11 Jan 2024 16:56:31 -0700 Subject: [PATCH] Remove unnecessary customizations Signed-off-by: Tommy --- Customization.sh | 34 ---------------------------------- Fedora-Workstation-39.sh | 3 +++ Ubuntu-22.04-Desktop.sh | 3 +++ 3 files changed, 6 insertions(+), 34 deletions(-) delete mode 100644 Customization.sh diff --git a/Customization.sh b/Customization.sh deleted file mode 100644 index 5c069a6..0000000 --- a/Customization.sh +++ /dev/null @@ -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" diff --git a/Fedora-Workstation-39.sh b/Fedora-Workstation-39.sh index d1d2ee2..c2e2916 100644 --- a/Fedora-Workstation-39.sh +++ b/Fedora-Workstation-39.sh @@ -208,3 +208,6 @@ if [ "$virt_type" = '' ] || [ "${MACHINE_TYPE}" == 'x86_64' ]; then fi 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' \ No newline at end of file diff --git a/Ubuntu-22.04-Desktop.sh b/Ubuntu-22.04-Desktop.sh index 1f12e2a..6b8e86a 100644 --- a/Ubuntu-22.04-Desktop.sh +++ b/Ubuntu-22.04-Desktop.sh @@ -136,3 +136,6 @@ sudo hostnamectl --transient hostname '' # Enable fstrim.timer sudo apt install tuned -y sudo systemctl enable --now fstrim.timer + +#Enable Titlebar buttons +gsettings set org.gnome.desktop.wm.preferences button-layout 'appmenu:minimize,maximize,close' \ No newline at end of file