diff --git a/gextensions.txt b/gextensions.txt new file mode 100644 index 0000000..db735a3 --- /dev/null +++ b/gextensions.txt @@ -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 \ No newline at end of file diff --git a/packages.txt b/packages.txt index 1ebf2e3..bf4e40d 100644 --- a/packages.txt +++ b/packages.txt @@ -121,3 +121,4 @@ syncthing gnome-tweaks wrangler networkmananger +gnome-shell-extension diff --git a/syssetup.sh b/syssetup.sh index 6e8a5b8..334b0ec 100755 --- a/syssetup.sh +++ b/syssetup.sh @@ -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 +} + diff --git a/worker.js b/worker.js index 3e26a6d..b93c370 100644 --- a/worker.js +++ b/worker.js @@ -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 }); } };