aboutsummaryrefslogtreecommitdiffstats
path: root/home
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2026-01-28 09:46:04 -0800
committerMark Nipper <nipsy@bitgnome.net>2026-01-28 09:46:04 -0800
commit14705eb80b5509787c2012dbdbd3861714c7fb43 (patch)
treec35d8c45029a44703157b4f9c8297006fd751059 /home
parentde3e27d9a90500517a190c3a7081838c9bcee7b6 (diff)
downloadnix-14705eb80b5509787c2012dbdbd3861714c7fb43.tar
nix-14705eb80b5509787c2012dbdbd3861714c7fb43.tar.gz
nix-14705eb80b5509787c2012dbdbd3861714c7fb43.tar.bz2
nix-14705eb80b5509787c2012dbdbd3861714c7fb43.tar.lz
nix-14705eb80b5509787c2012dbdbd3861714c7fb43.tar.xz
nix-14705eb80b5509787c2012dbdbd3861714c7fb43.tar.zst
nix-14705eb80b5509787c2012dbdbd3861714c7fb43.zip
Use fit option for swaybgHEADmaster
Diffstat (limited to '')
-rw-r--r--home/nipsy/common/optional/desktops/sway/config2
-rwxr-xr-xhome/nipsy/common/optional/desktops/sway/swaybg2
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