mirror of
https://github.imc.re/void-land/hyprland-void-dots
synced 2025-06-06 01:03:42 +02:00
feat: kill swaybg at launch
This commit is contained in:
parent
5590011d75
commit
510d8b43aa
1 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,10 @@ PICS=($(ls ${DIR}))
|
||||||
|
|
||||||
RANDOMPICS=${PICS[$RANDOM % ${#PICS[@]}]}
|
RANDOMPICS=${PICS[$RANDOM % ${#PICS[@]}]}
|
||||||
|
|
||||||
|
if [[ $(pidof swaybg) ]]; then
|
||||||
|
pkill swaybg
|
||||||
|
fi
|
||||||
|
|
||||||
swww query || swww init
|
swww query || swww init
|
||||||
|
|
||||||
swww img ${DIR}/${RANDOMPICS} --transition-fps $FPS --transition-type any --transition-duration 3
|
swww img ${DIR}/${RANDOMPICS} --transition-fps $FPS --transition-type any --transition-duration 3
|
||||||
|
|
Loading…
Add table
Reference in a new issue