Refactor: Move autostart.sh to sway config dir.

This commit is contained in:
the_4n0nym0u53 2021-10-12 14:33:52 +02:00
parent ef56523306
commit 90a69f1917
3 changed files with 8 additions and 9 deletions

View File

@ -3,17 +3,16 @@
echo -e "Creating the symlinks with stow..."
stow -t $HOME alacritty \
autostart \
mako \
nvim \
sway \
swaylock \
waybar
mako \
nvim \
sway \
swaylock \
waybar
sleep 1
echo -e "Making scripts executable..."
chmod +x autostart/.scripts/autostart.sh
chmod +x sway/.config/sway/autostart.sh
chmod +x waybar/.config/waybar/pvpn.sh
chmod +x waybar/.config/waybar/mediaplayer.py

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
env SUDO_USER=$USER doas protonvpn c --cc DK
# Uncomment below to use sudo instead of doas, comment the above

View File

@ -9,7 +9,7 @@ exec mako
exec pipewire
exec pipewire-pulse
exec pipewire-media-session
exec ~/.scripts/autostart.sh
exec ~/.config/sway/autostart.sh
# Window focus doesn't follow mouse
focus_follows_mouse no