try to pull desktop background based on colorscheme

This commit is contained in:
Wryn (yage) Wagner 2024-04-23 15:04:53 -06:00
parent d0cfe58dd2
commit 466d07923c

View File

@ -30,7 +30,7 @@ XRANDR_SET() {
local COMPOSITING=enable local COMPOSITING=enable
local SCREEN_BLANK=enable local SCREEN_BLANK=enable
local BACKGROUND=purple.jpg local BACKGROUND=$(scwrypts -n get theme).jpg
local SOUND_EFFECT=login local SOUND_EFFECT=login
local XRANDR_ARGS=() local XRANDR_ARGS=()
@ -71,7 +71,7 @@ XRANDR_SET() {
sleep 1 sleep 1
scwrypts desktop screen blank -- $SCREEN_BLANK 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 $DOTWRYN/bin/polybar
scwrypts desktop play sound -- $SOUND_EFFECT scwrypts desktop play sound -- $SOUND_EFFECT
} }