aboutsummaryrefslogtreecommitdiffstats
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xhome/nipsy/common/optional/desktops/rotatebg2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/nipsy/common/optional/desktops/rotatebg b/home/nipsy/common/optional/desktops/rotatebg
index 05443ae..1b5b95b 100755
--- a/home/nipsy/common/optional/desktops/rotatebg
+++ b/home/nipsy/common/optional/desktops/rotatebg
@@ -35,7 +35,7 @@ while true; do
bg=(~/bg/**/*(.))
# if running i3, we need to set the background immediately, at random based on the array length
- if [[ -S ${I3SOCK} ]]; then
+ if [[ -S ${I3SOCK} && ! ${I3SOCK} =~ "sway" ]]; then
feh --no-fehbg --bg-max ${bg[$((RANDOM % $#bg + 1))]}
fi