mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-01 16:13:23 +00:00
fix: restore-gnome-de-settings - indent syntax, handle empty dirs, add error checks (#2217)
* fix: indent syntax, handle empty dirs, add error checks * fix: rm set -e to fail gracefully
This commit is contained in:
parent
d0d1d3bcfc
commit
c4fd9245f1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user