Fedora-WS-Update-AddExtensions

This commit is contained in:
Tyleo Dv. Delaware 2025-03-08 22:05:25 +00:00
parent 7c64049aee
commit 9f6228eb0a

View file

@ -72,7 +72,7 @@ inject-wlcm-reg() {
install_nautilus(){
sudo dnf makecache
sudo dnf install -y dolphin
# sudo dnf install -y dolphin
sudo dnf install -y nautilus
}
@ -166,6 +166,7 @@ io.github.dweymouth.supersonic \
io.github.ungoogled_software.ungoogled_chromium \
com.bitwarden.desktop \
xyz.armcord.ArmCord \
org.onlyoffice.desktopeditors \
io.github.revisto.drum-machine \
io.github.jeffshee.Hidamari \
io.github.dvlv.boxbuddyrs \
@ -307,6 +308,7 @@ sudo tar -xvf $TEMP_FONT_PACKFILE -C $FONTDIR
# Refreshing FC Cache
sudo fc-cache -r
}
update-theming-pack() {
@ -383,14 +385,23 @@ fi
mkdir $HOME/.themes
mkdir -p $HOME/.local/icons
wget "https://res.tyleo.dev/gtk/gz/Colloid-Grey.tar.xz" -O /tmp/icontheme.tar.xz
wget "https://res.tyleo.dev/gtk/gz/Graphite-Dark.tar.xz" -O /tmp/gtktheme.tar.xz
wget "https://res.tyleo.dev/gtk/gz/Colloid-Grey.tar.xz" -O /tmp/icontheme.tar.xz
wget "https://res.tyleo.dev/gtk/gz/Graphite-Dark.tar.xz" -O /tmp/gtktheme.tar.xz
wget "https://res.tyleo.dev/gtk/cursor/cursor-theme.tar.xz" -O /tmp/cursors.tar.xz
sudo tar -xvf /tmp/icontheme.tar.xz -C /usr/share/icons
sudo tar -xvf /tmp/gtktheme.tar.xz -C /usr/share/themes
# Cursors and Icons are stored in the same directory (System)
sudo tar -xvf /tmp/cursors.tar.xz -C /usr/share/icons # Cursor
sudo tar -xvf /tmp/icontheme.tar.xz -C /usr/share/icons # Icons
sudo tar -xvf /tmp/icontheme.tar.xz -C $HOME/.local/share/icons
sudo tar -xvf /tmp/gtktheme.tar.xz -C $HOME/.themes
# Cursors and Icons are stored in the same directory (User)
sudo tar -xvf /tmp/cursors.tar.xz -C $HOME/.local/share/icons # Cursor
sudo tar -xvf /tmp/icontheme.tar.xz -C $HOME/.local/share/icons # Icons
# GTK Theme Extract (System)
sudo tar -xvf /tmp/gtktheme.tar.xz -C /usr/share/themes # Shell & GUI Themes
# GTK Theme Extract (User)
sudo tar -xvf /tmp/gtktheme.tar.xz -C $HOME/.themes # Shell & GUI Themes
sudo gsettings set org.gnome.desktop.interface gtk-theme Graphite$ThemeColor$ThemeModeSet
sudo gsettings set org.gnome.desktop.wm.preferences theme Graphite$ThemeColor$ThemeModeSet
@ -398,6 +409,7 @@ sudo gsettings set org.gnome.desktop.interface icon-theme "Colloid-Grey$ThemeMod
gsettings set org.gnome.desktop.interface gtk-theme Graphite$ThemeColor$ThemeModeSet
gsettings set org.gnome.desktop.wm.preferences theme Graphite$ThemeColor$ThemeModeSet
gsettings set org.gnome.desktop.interface icon-theme "Colloid-Grey$ThemeModeSet"
gsettings set org.gnome.desktop.interface cursor-theme "Oreo-Black-Border"
dconf write /org/gnome/shell/extensions/user-theme/name "'Graphite$ThemeColor$ThemeModeSet'"
flatpak override --user --env=GTK_THEME=Graphite$ThemeColor$ThemeModeSet
sudo flatpak override --env=GTK_THEME=Graphite$ThemeColor$ThemeModeSet
@ -419,11 +431,37 @@ sudo usermod --shell /usr/bin/fish root
sudo usermod --shell /usr/bin/fish $USER
}
show-gnome-extensions-list() {
echo https://extensions.gnome.org/extension/19/user-themes
echo https://extensions.gnome.org/extension/3628/arcmenu
echo https://extensions.gnome.org/extension/2890/tray-icons-reloaded/
echo https://extensions.gnome.org/extension/1160/dash-to-panel/
install-gnome-extensions() {
sudo dnf in openssl -y
EXT_LIST=( [email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
quick-settings-tweaks@qwreey
[email protected]
[email protected] )
for i in "${EXT_LIST[@]}"
do
sleep 3
busctl --user call org.gnome.Shell.Extensions /org/gnome/Shell/Extensions org.gnome.Shell.Extensions InstallRemoteExtension s ${i}
done
sleep 2
# Setup Oxanium Font
gsettings set org.gnome.desktop.interface document-font-name 'SF Pro Display Light'
gsettings set org.gnome.desktop.interface font-name 'SF Pro Display Light'
gsettings set org.gnome.desktop.interface monospace-font-name 'UNISPACE'
gsettings set org.gnome.desktop.interface text-scaling-factor '1.2'
}
execute-reboot() {
@ -668,7 +706,7 @@ fi
show_header
echo -e "$BCyan------------------------------------------------------------------GENERAL--
|$BCyan A | Execute All Jobs (Full Deploy) -a/--auto $BCyan|
|$BCyan G | Show Gnome Extensions URLs $BCyan|
|$BCyan G | Install Gnome Extensions $BCyan|
|$BCyan W | Install/Update WLCM & RegScript $BCyan|
|$BCyan R | Register this system -r/--register $BCyan|
------------------------------------------------------------------ACTIONS--$Color_Off$BCyan
@ -940,10 +978,10 @@ if [[ $choice = G ]]; then
header-show
wait-3s
enable-cmd-mode
show-gnome-extensions-list
install-gnome-extensions
disable-cmd-mode
wait-for-keypress
reload-scripte
reload-script
fi
if [[ $choice = Q ]]