-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlinux-setup.sh
More file actions
executable file
·61 lines (42 loc) · 1.58 KB
/
linux-setup.sh
File metadata and controls
executable file
·61 lines (42 loc) · 1.58 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env bash
#
#
# Linux: Setup system
#
#
THIS_DIR="$(cd "$(dirname "$0")" && pwd)"
REPO_DIR="$(cd "$(dirname "$0")" && cd .. && pwd)"
OS_NAME="$(bash $REPO_DIR/scripts/os-name.sh)"
if [[ "$OS_NAME" == "macOS" || "$OS_NAME" == "Windows" ]]; then
echo "This script requires Linux."
exit 0
fi
info() { echo -e "\033[36m$1\033[0m"; }
info '==> dotfiles: start linux setup'
info '==> dotfiles: linux/bash/bash.sh'
bash "$REPO_DIR/linux/bash/bash.sh"
info '==> dotfiles: development/git/git.sh'
bash "$REPO_DIR/development/git/git.sh"
info '==> dotfiles: linux/linux-flatpak-setup.sh'
bash "$REPO_DIR/linux/linux-flatpak-setup.sh"
info '==> dotfiles: linux/gnome/gnome.sh'
bash "$REPO_DIR/linux/gnome/gnome.sh"
info '==> dotfiles: linux/hardware/keychron-keyboards.sh'
bash "$REPO_DIR/linux/hardware/keychron-keyboards.sh"
info '==> dotfiles: linux/hardware/bluetooth-fixes.sh'
bash "$REPO_DIR/linux/hardware/bluetooth-fixes.sh"
info '==> dotfiles: scripts/homebrew-setup-user.linux.sh'
bash "$REPO_DIR/scripts/homebrew-setup-user.linux.sh"
info '==> dotfiles: just/just.sh'
bash "$REPO_DIR/just/just.sh"
info '==> dotfiles: development/ghostty/ghostty.sh'
bash "$REPO_DIR/development/ghostty/ghostty.sh"
info '==> dotfiles: linux/vim/vim.sh'
bash "$REPO_DIR/linux/vim/vim.sh"
info '==> dotfiles: linux/tmux/tmux.sh'
bash "$REPO_DIR/linux/tmux/tmux.sh"
info '==> dotfiles: dropbox/maestral/maestral.sh'
bash "$REPO_DIR/dropbox/maestral/maestral.sh"
info '==> dotfiles: docker/docker.sh'
bash "$REPO_DIR/docker/docker.sh"
info '==> dotfiles: finished linux setup, a system reboot is recommended'