fix(desktop): move wallpaper daemon to be specific to host
This commit is contained in:
parent
becce8eea2
commit
108cfa8e80
3 changed files with 57 additions and 17 deletions
|
@ -15,25 +15,11 @@ waybar &
|
|||
#
|
||||
xwaylandvideobridge &
|
||||
|
||||
|
||||
#
|
||||
## Start wallpaper daemon and set one.
|
||||
# Start wallpaper daemon
|
||||
#
|
||||
OUTPUT_1="DP-2"
|
||||
IMAGE_1="/mnt/internal/personal/wallpapers/wallhaven-vqlvm8.jpg"
|
||||
|
||||
OUTPUT_2="DP-3"
|
||||
IMAGE_2="/mnt/internal/personal/wallpapers/wallhaven-2yl6px.jpg"
|
||||
|
||||
function load_wallpapers() {
|
||||
swww img -t any --transition-bezier 0.0,0.0,1.0,1.0 --transition-duration .8 --transition-step 255 --transition-fps 60 -o $OUTPUT_1 $IMAGE_1;
|
||||
swww img -t any --transition-bezier 0.0,0.0,1.0,1.0 --transition-duration .8 --transition-step 255 --transition-fps 60 -o $OUTPUT_2 $IMAGE_2
|
||||
}
|
||||
|
||||
if ! swww query; then
|
||||
swww-daemon &
|
||||
fi
|
||||
|
||||
load_wallpapers &
|
||||
~/.local/share/scripts/wallpaper.sh &
|
||||
|
||||
#
|
||||
# Start notification daemon.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue