diff --git a/README.md b/README.md index ec96459..043a847 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..edc3b8b --- /dev/null +++ b/install.sh @@ -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!" +