From 2aee85dde4974ccc708fff02a598c2a2201c1dfd Mon Sep 17 00:00:00 2001 From: Xavier Petit <32063953+xpetit@users.noreply.github.com> Date: Tue, 4 Feb 2020 23:58:20 +0000 Subject: [PATCH] Add setup script --- scripts/setup.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 scripts/setup.sh diff --git a/scripts/setup.sh b/scripts/setup.sh new file mode 100755 index 000000000..ce46167ab --- /dev/null +++ b/scripts/setup.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +# Install everything + +script_dir="$(cd -P "$(dirname "$BASH_SOURCE")" && pwd)" +cd $script_dir +. set.sh + +repo_dir=$(git rev-parse --show-toplevel) + +gsettings set org.gnome.desktop.session idle-delay 0 +gsettings set org.gnome.desktop.screensaver lock-enabled false + +sudo -E ./install_ubuntu.sh +cat dconfig.txt | dconf load / +rm -rf "$repo_dir" +reboot