Fedora-WS-Update-AddExtensions
This commit is contained in:
parent
7c64049aee
commit
9f6228eb0a
1 changed files with 53 additions and 15 deletions
68
setup/fedora
68
setup/fedora
|
@ -72,7 +72,7 @@ inject-wlcm-reg() {
|
||||||
|
|
||||||
install_nautilus(){
|
install_nautilus(){
|
||||||
sudo dnf makecache
|
sudo dnf makecache
|
||||||
sudo dnf install -y dolphin
|
# sudo dnf install -y dolphin
|
||||||
sudo dnf install -y nautilus
|
sudo dnf install -y nautilus
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -166,6 +166,7 @@ io.github.dweymouth.supersonic \
|
||||||
io.github.ungoogled_software.ungoogled_chromium \
|
io.github.ungoogled_software.ungoogled_chromium \
|
||||||
com.bitwarden.desktop \
|
com.bitwarden.desktop \
|
||||||
xyz.armcord.ArmCord \
|
xyz.armcord.ArmCord \
|
||||||
|
org.onlyoffice.desktopeditors \
|
||||||
io.github.revisto.drum-machine \
|
io.github.revisto.drum-machine \
|
||||||
io.github.jeffshee.Hidamari \
|
io.github.jeffshee.Hidamari \
|
||||||
io.github.dvlv.boxbuddyrs \
|
io.github.dvlv.boxbuddyrs \
|
||||||
|
@ -307,6 +308,7 @@ sudo tar -xvf $TEMP_FONT_PACKFILE -C $FONTDIR
|
||||||
|
|
||||||
# Refreshing FC Cache
|
# Refreshing FC Cache
|
||||||
sudo fc-cache -r
|
sudo fc-cache -r
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
update-theming-pack() {
|
update-theming-pack() {
|
||||||
|
@ -383,14 +385,23 @@ fi
|
||||||
mkdir $HOME/.themes
|
mkdir $HOME/.themes
|
||||||
mkdir -p $HOME/.local/icons
|
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/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/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
|
# Cursors and Icons are stored in the same directory (System)
|
||||||
sudo tar -xvf /tmp/gtktheme.tar.xz -C /usr/share/themes
|
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
|
# Cursors and Icons are stored in the same directory (User)
|
||||||
sudo tar -xvf /tmp/gtktheme.tar.xz -C $HOME/.themes
|
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.interface gtk-theme Graphite$ThemeColor$ThemeModeSet
|
||||||
sudo gsettings set org.gnome.desktop.wm.preferences 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.interface gtk-theme Graphite$ThemeColor$ThemeModeSet
|
||||||
gsettings set org.gnome.desktop.wm.preferences 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 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'"
|
dconf write /org/gnome/shell/extensions/user-theme/name "'Graphite$ThemeColor$ThemeModeSet'"
|
||||||
flatpak override --user --env=GTK_THEME=Graphite$ThemeColor$ThemeModeSet
|
flatpak override --user --env=GTK_THEME=Graphite$ThemeColor$ThemeModeSet
|
||||||
sudo flatpak override --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
|
sudo usermod --shell /usr/bin/fish $USER
|
||||||
}
|
}
|
||||||
|
|
||||||
show-gnome-extensions-list() {
|
install-gnome-extensions() {
|
||||||
echo https://extensions.gnome.org/extension/19/user-themes
|
sudo dnf in openssl -y
|
||||||
echo https://extensions.gnome.org/extension/3628/arcmenu
|
EXT_LIST=( [email protected]
|
||||||
echo https://extensions.gnome.org/extension/2890/tray-icons-reloaded/
|
[email protected]
|
||||||
echo https://extensions.gnome.org/extension/1160/dash-to-panel/
|
[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() {
|
execute-reboot() {
|
||||||
|
@ -668,7 +706,7 @@ fi
|
||||||
show_header
|
show_header
|
||||||
echo -e "$BCyan------------------------------------------------------------------GENERAL--
|
echo -e "$BCyan------------------------------------------------------------------GENERAL--
|
||||||
|$BCyan A | Execute All Jobs (Full Deploy) -a/--auto $BCyan|
|
|$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 W | Install/Update WLCM & RegScript $BCyan|
|
||||||
|$BCyan R | Register this system -r/--register $BCyan|
|
|$BCyan R | Register this system -r/--register $BCyan|
|
||||||
------------------------------------------------------------------ACTIONS--$Color_Off$BCyan
|
------------------------------------------------------------------ACTIONS--$Color_Off$BCyan
|
||||||
|
@ -940,10 +978,10 @@ if [[ $choice = G ]]; then
|
||||||
header-show
|
header-show
|
||||||
wait-3s
|
wait-3s
|
||||||
enable-cmd-mode
|
enable-cmd-mode
|
||||||
show-gnome-extensions-list
|
install-gnome-extensions
|
||||||
disable-cmd-mode
|
disable-cmd-mode
|
||||||
wait-for-keypress
|
wait-for-keypress
|
||||||
reload-scripte
|
reload-script
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $choice = Q ]]
|
if [[ $choice = Q ]]
|
||||||
|
|
Loading…
Add table
Reference in a new issue