Create install.sh
This commit is contained in:
parent
6d08af082a
commit
78d1b05fe0
|
@ -27,7 +27,7 @@ These dotfiles depend on the following software packages:
|
|||
- `waybar`
|
||||
- `sway-launcher-desktop`
|
||||
|
||||
\* If you prefer `sudo`, then change all instances if `doas` to `sudo`. They're mainly in the sway config file and my `autostart.sh` script.
|
||||
\* If you prefer `sudo`, then change all instances of `doas` to `sudo`. They're mainly in the sway config file and my `autostart.sh` script.
|
||||
|
||||
Also, you need to make a `doas`/`sudo` rule that allows you to execute `poweroff` and `reboot` without a password, otherwise the keybindings for those won't work.
|
||||
|
||||
|
|
22
install.sh
Executable file
22
install.sh
Executable file
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo -e "Creating the symlinks with stow..."
|
||||
|
||||
stow -t $HOME alacritty \
|
||||
autostart \
|
||||
mako \
|
||||
nvim \
|
||||
sway \
|
||||
swaylock \
|
||||
waybar
|
||||
|
||||
sleep 1
|
||||
echo -e "Making scripts executable..."
|
||||
|
||||
chmod +x autostart/.scripts/autostart.sh
|
||||
chmod +x waybar/.config/waybar/pvpn.sh
|
||||
chmod +x waybar/.config/waybar/mediaplayer.py
|
||||
|
||||
sleep 1
|
||||
echo -e "Done!"
|
||||
|
Loading…
Reference in a new issue