Created
June 17, 2021 20:06
-
-
Save peterrus/f7a8f6ce09ba6506b780f6ca8bceb74f to your computer and use it in GitHub Desktop.
Backs up and restores Tilix settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Backs up and restores tilix settings | |
set -e | |
if [[ $1 == 'backup' ]]; then | |
dconf dump '/com/gexperts/Tilix/' > tilix-settings.dconf | |
echo "backup done" | |
exit 0 | |
fi | |
if [[ $1 == 'restore' ]]; then | |
dconf load '/com/gexperts/Tilix/' < tilix-settings.dconf | |
echo "restore done" | |
exit 0 | |
fi | |
echo "parameter 0: [backup|restore]" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment