Refactor: Move autostart.sh to sway config dir.
This commit is contained in:
parent
ef56523306
commit
90a69f1917
13
install.sh
13
install.sh
|
@ -3,17 +3,16 @@
|
||||||
echo -e "Creating the symlinks with stow..."
|
echo -e "Creating the symlinks with stow..."
|
||||||
|
|
||||||
stow -t $HOME alacritty \
|
stow -t $HOME alacritty \
|
||||||
autostart \
|
mako \
|
||||||
mako \
|
nvim \
|
||||||
nvim \
|
sway \
|
||||||
sway \
|
swaylock \
|
||||||
swaylock \
|
waybar
|
||||||
waybar
|
|
||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
echo -e "Making scripts executable..."
|
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/pvpn.sh
|
||||||
chmod +x waybar/.config/waybar/mediaplayer.py
|
chmod +x waybar/.config/waybar/mediaplayer.py
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
env SUDO_USER=$USER doas protonvpn c --cc DK
|
env SUDO_USER=$USER doas protonvpn c --cc DK
|
||||||
# Uncomment below to use sudo instead of doas, comment the above
|
# Uncomment below to use sudo instead of doas, comment the above
|
|
@ -9,7 +9,7 @@ exec mako
|
||||||
exec pipewire
|
exec pipewire
|
||||||
exec pipewire-pulse
|
exec pipewire-pulse
|
||||||
exec pipewire-media-session
|
exec pipewire-media-session
|
||||||
exec ~/.scripts/autostart.sh
|
exec ~/.config/sway/autostart.sh
|
||||||
|
|
||||||
# Window focus doesn't follow mouse
|
# Window focus doesn't follow mouse
|
||||||
focus_follows_mouse no
|
focus_follows_mouse no
|
||||||
|
|
Loading…
Reference in a new issue