added gnome shell extensions

This commit is contained in:
Jonas_Jones 2024-10-23 23:26:12 +02:00
parent 81fba8e6b0
commit a7b4fc77d9
4 changed files with 49 additions and 0 deletions

28
gextensions.txt Normal file
View file

@ -0,0 +1,28 @@
AlphabeticalAppGrid@stuarthayhurst
batterytime@typeof.pw
blur-my-shell@aunetx
caffeine@patapon.info
clipboard-history@alexsaveau.dev
color-picker@tuberry
compiz-alike-magic-lamp-effect@hermes83.github.com
dash-to-dock@micxgx.gmail.com
ddterm@amezin.github.com
unredirect@vaina.lt
fullscreen-avoider@noobsai.github.com
fullscreen-hot-corner@sorrow.about.alice.pm.me
fullscreen-to-empty-workspace@aiono.dev
grand-theft-focus@zalckos.github.com
impatience@gfxmonk.net
mediacontrols@cliffniff.github.com
net-label@slimani.dev
nightthemeswitcher@romainvigier.fr
power-profile-switcher@eliapasquali.github.io
quick-settings-tweaks@qwreey
Rounded_Corners@lennart-k
rounded-window-corners@fxgn
soft-brightness-plus@joelkitching.com
supergfxctl-gex@asus-linux.org
trayIconsReloaded@selfmade.pl
clipboard-indicator@tudmotu.com
drive-menu@gnome-shell-extensions.gcampax.github.com
system-monitor@gnome-shell-extensions.gcampax.github.com

View file

@ -121,3 +121,4 @@ syncthing
gnome-tweaks
wrangler
networkmananger
gnome-shell-extension

View file

@ -19,6 +19,7 @@ install_firefox_theme
install_sdkman
install_ghcup
remove_packages
install_gnome_extensions
install_yay_aur() {
sudo pacman -S yay --noconfirm
@ -84,3 +85,9 @@ install_packages() {
curl -s https://syssetup.jonasjones.dev/packages | xargs -n 1 yay -S --noconfirm
}
install_gnome_extensions() {
# Install the gnome extensions
curl -s https://syssetup.jonasjones.dev/gextensions | xargs -n 1 gnome-extensions install --yes
curl -s https://syssetup.jonasjones.dev/gextensions | xargs -n 1 gnome-extensions enable --yes
}

View file

@ -43,6 +43,19 @@ export default {
});
}
if (url.pathname === '/gextensions') {
// Fetch the shell script file
const script = await fetch('https://raw.githubusercontent.com/JonasunderscoreJones/ArchSystemSetup/refs/heads/main/gextensions.txt');
const scriptText = await script.text();
return new Response(scriptText, {
headers: {
'Content-Type': 'text/plain', // Set the correct content type
'Cache-Control': 'no-store' // Optional: Prevent caching
}
});
}
return new Response('Not Found', { status: 404 });
}
};