Skip to content

Commit f7110f1

Browse files
committed
update desktop setup script
1 parent 62498e0 commit f7110f1

File tree

2 files changed

+11
-15
lines changed

2 files changed

+11
-15
lines changed

scripts/dconf-settings.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ window-width=780
1515

1616
[com/ubuntu/update-notifier]
1717
no-show-notifications=true
18-
release-check-time=uint32 1739064513
18+
release-check-time=uint32 1740274616
1919

2020
[org/gnome/Totem]
2121
active-plugins=['movie-properties', 'apple-trailers', 'open-directory', 'rotation', 'save-file', 'recent', 'skipto', 'screensaver', 'screenshot', 'vimeo', 'autoload-subtitles', 'variable-rate', 'mpris']
@@ -343,7 +343,7 @@ show-sidebar=true
343343
sidebar-page='thumbnails'
344344
sidebar-size=148
345345
sizing-mode='free'
346-
window-ratio=(2.7238562091503269, 1.6742424242424243)
346+
window-ratio=(2.7238562091503269, 1.3232323232323233)
347347
zoom=0.84089642763137806
348348

349349
[org/gnome/evolution-data-server]

scripts/desktop_setup.sh

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,27 @@
11
#!/bin/bash
22
# Import/Export GNOME desktop settings
33

4+
# Source the colors script
5+
source ./colours.sh
6+
47
SAVED_FILE="dconf-settings.ini"
58

69
if [ "$1" == "save" ]; then
710
# Save all GNOME settings to a file
811
dconf dump / >"$SAVED_FILE"
9-
echo "Settings saved to $SAVED_FILE"
12+
echo -e "${GREEN}Settings saved to $SAVED_FILE${NC}"
1013

1114
elif [ "$1" == "load" ]; then
1215
# Load all GNOME settings from a file
1316
if [ -f "$SAVED_FILE" ]; then
1417
dconf load / <"$SAVED_FILE"
15-
echo "Settings loaded from $SAVED_FILE"
18+
echo -e "${GREEN}Settings loaded from $SAVED_FILE${NC}"
1619
else
17-
echo "No saved settings file found! Expected file: $SAVED_FILE"
20+
echo -e "${RED}No saved settings file found! Expected file: $SAVED_FILE${NC}"
1821
fi
1922

2023
else
21-
echo "Usage: $0 {save|load}"
22-
echo " save - Save all GNOME settings to $SAVED_FILE"
23-
echo " load - Load all GNOME settings from $SAVED_FILE"
24+
echo -e "${YELLOW}Usage: $0 {save|load}${NC}"
25+
echo -e "${YELLOW} save - Save all GNOME settings to $SAVED_FILE${NC}"
26+
echo -e "${YELLOW} load - Load all GNOME settings from $SAVED_FILE${NC}"
2427
fi
25-
26-
# import Gnome desktop settings
27-
28-
# to save settings
29-
#dconf dump / > dconf-settings.ini
30-
31-
#dconf load / < dconf-settings.ini

0 commit comments

Comments
 (0)