mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-05-11 17:35:56 +08:00
niri change wallpaper support waydeeper
This commit is contained in:
parent
40f4e8172c
commit
a5ee349862
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ if [ -z $wall ]; then
|
|||
exit 1
|
||||
fi
|
||||
output=$(niri msg -j focused-output | jq -r .name)
|
||||
awww img -o $output $wallpapers_dir/$wall --transition-type random --transition-duration 1 --namespace background
|
||||
waydeeper set --monitor $output $wallpapers_dir/$wall
|
||||
blurwall=$(echo $wall | sed 's/\.jpg$/-blurred.jpg/')
|
||||
awww img -o $output $wallpapers_dir/$blurwall --transition-type fade --namespace backdrop
|
||||
echo $wall > $HOME/Pictures/Wallpapers/"$output"-file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue