diff --git a/home/user/.config/sway/autostart.conf b/home/user/.config/sway/autostart.conf index 9654e47..3b11090 100644 --- a/home/user/.config/sway/autostart.conf +++ b/home/user/.config/sway/autostart.conf @@ -7,6 +7,10 @@ exec swayidle -w \ resume 'swaymsg "output * power on"' \ before-sleep 'swaylock -f' +# Screen layout +exec_always ~/.screenlayout/default + +output * bg "$(find ~/.wallpaper -type f | shuf -n 1)" fill # Notifications #systemctl --user enable --now dbus.service diff --git a/home/user/.config/sway/other.conf b/home/user/.config/sway/other.conf index fb9492c..8785620 100644 --- a/home/user/.config/sway/other.conf +++ b/home/user/.config/sway/other.conf @@ -43,9 +43,5 @@ workspace $ws10 output $secondary workspace hide1 output $primary workspace hide2 output $secondary -# Screen layout -exec_always ~/.screenlayout/default - -output * bg "$(find ~/.wallpaper -type f | shuf -n 1)" fill exec_always test -f ~/.Xresources && xrdb -merge ~/.Xresources diff --git a/install-hooks/sway/pre-install b/install-hooks/sway/pre-install index 6e4aa85..45cd9f2 100755 --- a/install-hooks/sway/pre-install +++ b/install-hooks/sway/pre-install @@ -1,3 +1,3 @@ #!/bin/sh -echo "pacman -S sway waybar swaylock swayidle wl-clipboard ydotool grim slurp mako wlr-randr" +echo "pacman -S sway swaybg waybar swaylock swayidle wl-clipboard ydotool grim slurp mako wlr-randr"