Skip to content

Commit

Permalink
fix: restore-gnome-de-settings - indent syntax, handle empty dirs, ad…
Browse files Browse the repository at this point in the history
…d error checks (#2217)

* fix: indent syntax, handle empty dirs, add error checks

* fix: rm set -e to fail gracefully
  • Loading branch information
xXJSONDeruloXx authored Jan 31, 2025
1 parent d0d1d3b commit c4fd924
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@

# Restore Bazzite customized DE settings
restore-gnome-de-settings:
#!/bin/bash
shopt -s nullglob
for file in /usr/share/ublue-os/dconfs/desktop-silverblue/*; do
dconf load / < "${file}"
echo "Loading dconf settings from: $file"
dconf load / < "$file"
done
for file in /usr/share/ublue-os/dconfs/deck-silverblue/*; do
dconf load / < "${file}"
echo "Loading dconf settings from: $file"
dconf load / < "$file"
done

# Restore Bazzite customized applications folders
Expand Down

0 comments on commit c4fd924

Please sign in to comment.