diff options
| -rw-r--r-- | home/nipsy/common/optional/desktops/sway/config | 2 | ||||
| -rwxr-xr-x | home/nipsy/common/optional/desktops/sway/swaybg | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/home/nipsy/common/optional/desktops/sway/config b/home/nipsy/common/optional/desktops/sway/config index 6924877..804c61e 100644 --- a/home/nipsy/common/optional/desktops/sway/config +++ b/home/nipsy/common/optional/desktops/sway/config @@ -21,7 +21,7 @@ set $menu wmenu-run ### Output configuration # # Default wallpaper (more resolutions are available in /run/current-system/sw/share/backgrounds/sway/) -output * mode 2560x1440@143.972Hz adaptive_sync on allow_tearing yes bg ~/bg/StarWarsRetro-BrentCheshire.jpg center +output * mode 2560x1440@143.972Hz adaptive_sync on allow_tearing yes bg ~/bg/StarWarsRetro-BrentCheshire.jpg fit # # Example configuration: # diff --git a/home/nipsy/common/optional/desktops/sway/swaybg b/home/nipsy/common/optional/desktops/sway/swaybg index ae1a41e..71b3634 100755 --- a/home/nipsy/common/optional/desktops/sway/swaybg +++ b/home/nipsy/common/optional/desktops/sway/swaybg @@ -38,7 +38,7 @@ while true; do bg=(~/bg/**/*(.)) # select and set our new background at random based on the array length - swaymsg -s ${SWAYSOCK} output '*' bg ${bg[$((RANDOM % $#bg + 1))]} fill + swaymsg -s ${SWAYSOCK} output '*' bg ${bg[$((RANDOM % $#bg + 1))]} fit done |
