swaybg: Fix single screen wallpaper display
This commit is contained in:
parent
96757895dc
commit
2627055e7c
2 changed files with 7 additions and 3 deletions
|
@ -313,8 +313,9 @@ if ! cat /etc/*-release | grep -q '^NAME=.*Void'; then
|
|||
if command -v swaybg >/dev/null 2>&1; then
|
||||
killall swaybg
|
||||
riverctl spawn "swaybg \
|
||||
-o 'LG Electronics W2442 0x000574E1' -i pictures/wall_l.jpg \
|
||||
-o 'LG Electronics W2442 0x000574FD' -i pictures/wall_r.jpg \
|
||||
-o 'LG Electronics W2442 0x000574E1' -i $HOME/pictures/wall_l.jpg \
|
||||
-o 'LG Electronics W2442 0x000574FD' -i $HOME/pictures/wall_r.jpg \
|
||||
-o 'Sharp Corporation 0x1449' -i $HOME/pictures/wall.jpg
|
||||
"
|
||||
elif command -v swww >/dev/null 2>&1; then
|
||||
riverctl spawn "swww-daemon"
|
||||
|
|
|
@ -3,4 +3,7 @@
|
|||
[ -r ./conf ] && . ./conf
|
||||
|
||||
exec 2>&1
|
||||
exec chpst -e "$TURNSTILE_ENV_DIR" swaybg -o "LG Electronics W2442 0x000574E1" -i "$HOME/pictures/wall_l.jpg" -o "LG Electronics W2442 0x000574FD" -i "$HOME/pictures/wall_r.jpg"
|
||||
exec chpst -e "$TURNSTILE_ENV_DIR" swaybg \
|
||||
-o "LG Electronics W2442 0x000574E1" -i "$HOME/pictures/wall_l.jpg" \
|
||||
-o "LG Electronics W2442 0x000574FD" -i "$HOME/pictures/wall_r.jpg" \
|
||||
-o "Sharp Corporation 0x1449" -i "$HOME/pictures/wall.jpg"
|
||||
|
|
Loading…
Reference in a new issue