From 466d07923c9704466af6df92d46919f425107b63 Mon Sep 17 00:00:00 2001 From: yage Date: Tue, 23 Apr 2024 15:04:53 -0600 Subject: [PATCH] try to pull desktop background based on colorscheme --- bin/altaria/xorg.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/altaria/xorg.zsh b/bin/altaria/xorg.zsh index 4a22dbb..773f738 100644 --- a/bin/altaria/xorg.zsh +++ b/bin/altaria/xorg.zsh @@ -30,7 +30,7 @@ XRANDR_SET() { local COMPOSITING=enable local SCREEN_BLANK=enable - local BACKGROUND=purple.jpg + local BACKGROUND=$(scwrypts -n get theme).jpg local SOUND_EFFECT=login local XRANDR_ARGS=() @@ -71,7 +71,7 @@ XRANDR_SET() { sleep 1 scwrypts desktop screen blank -- $SCREEN_BLANK - scwrypts desktop i3 set background -- $BACKGROUND + scwrypts desktop i3 set background -- $BACKGROUND || scwrypts desktop i3 set background -- purple.jpg $DOTWRYN/bin/polybar scwrypts desktop play sound -- $SOUND_EFFECT }