forked from hummelm10/steamdeck_startup_animations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall_dev.sh
executable file
·27 lines (22 loc) · 1.16 KB
/
install_dev.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
#!/usr/bin/env bash
#installs the feature/dev branch
#you really shouldnt use this unless you know what youre doing. high chance of soft bricking
# Create required directories
echo ":: Creating required directories"
mkdir -p "$HOME/homebrew"
mkdir -p "$HOME/.config/systemd/user"
# Clone the startup animations repository
if [[ ! -d "$HOME/homebrew/startup_animations" ]]; then
echo ":: Installing to $HOME/homebrew/startup_animations"
git clone --branch feature/dev https://github.com/hummelm10/steamdeck_startup_animations "$HOME/homebrew/startup_animations"
cd "$HOME/homebrew/startup_animations"
fi
# Install the service file
echo ":: Installing the device startup service"
ln -sf "$HOME/homebrew/startup_animations/randomize_deck_startup.service" "$HOME/.config/systemd/user/randomize_deck_startup.service"
systemctl --user daemon-reload
systemctl --user enable --now randomize_deck_startup.service
echo ":: Installing the desktop startup service"
ln -sf "$HOME/homebrew/startup_animations/randomize_deck_desktop.service" "$HOME/.config/systemd/user/randomize_deck_desktop.service"
systemctl --user daemon-reload
systemctl --user enable --now randomize_deck_desktop.service