Protect against rerunning

This commit is contained in:
David Heinemeier Hansson 2024-05-26 21:26:12 -07:00
parent f45b421f7a
commit 4db98a6b91
2 changed files with 50 additions and 45 deletions

View File

@ -1,6 +1,8 @@
if ! command -v gnome-shell-extension-manager &>/dev/null; then
sudo apt install -y gnome-shell-extension-manager pipx sudo apt install -y gnome-shell-extension-manager pipx
pipx install gnome-extensions-cli --system-site-packages pipx install gnome-extensions-cli --system-site-packages
# FIXME: Break these extensions into individual installers
gext install tactile@lundal.io gext install tactile@lundal.io
gext install just-perfection-desktop@just-perfection gext install just-perfection-desktop@just-perfection
gext install blur-my-shell@aunetx gext install blur-my-shell@aunetx
@ -41,3 +43,4 @@ gsettings set org.gnome.shell.extensions.blur-my-shell.dash-to-dock brightness 0
gsettings set org.gnome.shell.extensions.blur-my-shell.dash-to-dock sigma 30 gsettings set org.gnome.shell.extensions.blur-my-shell.dash-to-dock sigma 30
gsettings set org.gnome.shell.extensions.blur-my-shell.dash-to-dock static-blur true gsettings set org.gnome.shell.extensions.blur-my-shell.dash-to-dock static-blur true
gsettings set org.gnome.shell.extensions.blur-my-shell.dash-to-dock style-dash-to-dock 0 gsettings set org.gnome.shell.extensions.blur-my-shell.dash-to-dock style-dash-to-dock 0
fi

View File

@ -1,3 +1,4 @@
if ! command -v gnome-tweak-tool &>/dev/null; then
sudo apt install -y gnome-tweak-tool sudo apt install -y gnome-tweak-tool
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
@ -7,3 +8,4 @@ gsettings set org.gnome.desktop.interface icon-theme 'Yaru-purple'
# FIXME: Only do this on Framework laptops or similar displays # FIXME: Only do this on Framework laptops or similar displays
gsettings set org.gnome.desktop.interface text-scaling-factor 0.8 gsettings set org.gnome.desktop.interface text-scaling-factor 0.8
fi