-
Notifications
You must be signed in to change notification settings - Fork 1
/
prepare.sh
executable file
·42 lines (34 loc) · 1.56 KB
/
prepare.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
# this script should prepare a recently installed system to use
cd ~/dotfiles/bin # if ran from outside
cp ../system/temp_settings.sample.sh ../system/temp_settings.sh
./create_symlinks.sh
./create_dir_tree.sh
./install_cli.sh
./install_gui.sh
./configure_system.sh
./install_rbenv.sh
./install_zsh.sh && source ~/.zprofile
./install_vim.sh
git remote set-url origin [email protected]:$GITHUB_USERNAME/dotfiles.git # change remote link for this repo to use SSH
cd -
# reminder about manual/GUI configurations
echo
echo "Now you may need to perform some manual configuration:"
echo
echo "1) Reboot"
echo "2) Make terminal run login shell by default:"
echo "Edit -> Prefeneces -> Profiles -> Command -> Check 'run command as a login shell' option,"
echo "optionally add 'zsh -l' as a login command"
echo "3) Make terminal run maximized by default:"
echo "Edit -> Prefeneces -> Profiles -> Text -> Set default terminal size as 400 columns and 120 rows"
echo "4) Enable fonts in terminal:"
echo "Edit -> Preferences -> Profiles -> Text -> Custom font, search for Droid Sans Mono"
echo "5) Enable fractional scaling in GNOME on start up (if running on a huge screen):"
echo 'Settings -> Startup Applications -> Add `xrandr --output DP-4 --scale 1.5x1.5` (replace DP-4 with your monitor listed in `xrandr --listmonitors`)'
echo 'It can also be enabled via systemd service, see dotfiles/system/systemd/system/on_start_rescale_display.service'
echo "6) Reboot again :)"
echo
echo "Also you can manually run add_ssh.sh and enable_snap.sh when needed."
echo
exec zsh -l # relogin in the end