-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·57 lines (43 loc) · 1.87 KB
/
install.sh
File metadata and controls
executable file
·57 lines (43 loc) · 1.87 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
#!/bin/bash
# Exit immediately if a command exits with a non-zero status
set -eEo pipefail
mapfile -t packages < <(grep -v '^#' "./base.packages" | grep -v '^$')
paru -S --noconfirm --needed "${packages[@]}"
~/dotfiles/install/first-run/elephant.sh
~/dotfiles/install/login/all.sh
ICON_DIR="$HOME/.local/share/applications/icons"
mkdir -p "$ICON_DIR"
cp ~/dotfiles/*.png "$ICON_DIR/"
mkdir -p ~/.local/share/fonts
cp ~/dotfiles/config/omarchy.ttf ~/.local/share/fonts/
fc-cache
ln -sf ~/dotfiles/config/nvim ~/.config/nvim
ln -sf ~/dotfiles/config/hypr ~/.config/hypr
cp ~/dotfiles/config/bashrc ~/.bashrc
ln -sf ~/dotfiles/config/uwsm ~/.config/uwsm
ln -sf ~/dotfiles/config/walker ~/.config/walker
ln -sf ~/dotfiles/config/systemd ~/.config/systemd
ln -sf ~/dotfiles/config/wireplumber ~/.config/wireplumber
ln -sf ~/dotfiles/config/swayosd ~/.config/swayosd
ln -sf ~/dotfiles/config/mako ~/.config/mako
ln -sf ~/dotfiles/config/starship.toml ~/.config/starship.toml
ln -sf ~/dotfiles/config/ghostty ~/.config/ghostty
ln -sf ~/dotfiles/config/btop ~/.config/btop
ln -sf ~/dotfiles/config/fastfetch ~/.config/fastfetch
ln -sf ~/dotfiles/config/fcitx5 ~/.config/fcitx5
ln -sf ~/dotfiles/config/xcompose ~/.Xcompose
# Setup user theme folder
mkdir -p ~/.config/themes
# Set initial theme
omarchy-theme-set "Tokyo Night"
rm -rf ~/.config/chromium/SingletonLock # otherwise archiso will own the chromium singleton
# Set specific app links for current theme
mkdir -p ~/.config/btop/themes
ln -snf ~/.config/current/theme/btop.theme ~/.config/btop/themes/current.theme
mkdir -p ~/.config/mako
ln -snf ~/.config/current/theme/mako.ini ~/.config/mako/config
# Add managed policy directories for Chromium and Brave for theme changes
sudo mkdir -p /etc/chromium/policies/managed
sudo chmod a+rw /etc/chromium/policies/managed
sudo mkdir -p /etc/brave/policies/managed
sudo chmod a+rw /etc/brave/policies/managed