Skip to content

Commit 26c1113

Browse files
committed
Move gsettings to setup_gesttings
1 parent 8d4bf16 commit 26c1113

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

wsl-init-script.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,11 @@ install_asdf_plugins() {
155155
done
156156
}
157157

158+
setup_gesttings() {
159+
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
160+
gsettings set org.gnome.desktop.interface icon-theme "Papirus"
161+
}
162+
158163
setup_wsl() {
159164
print "Setting up WSL..."
160165
sudo rm -f /etc/wsl.conf
@@ -191,10 +196,6 @@ fix_annoyalances() {
191196

192197
# Zoxide
193198
echo "zoxide init fish | source" >>$HOME/.config/fish/config.fish
194-
195-
# Dark theme and Papirus
196-
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
197-
gsettings set org.gnome.desktop.interface icon-theme "Papirus"
198199
}
199200

200201
main() {
@@ -205,6 +206,7 @@ main() {
205206
sudo apt update
206207
install_asdf
207208
install_asdf_plugins
209+
setup_gesttings
208210
setup_wsl
209211
fix_annoyalances
210212
print "Done! 🙌"

0 commit comments

Comments
 (0)