mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-02-22 12:55:33 +08:00
swww -> awww
This commit is contained in:
parent
8275c96e4f
commit
ce73753052
9 changed files with 143 additions and 68 deletions
|
|
@ -6,8 +6,8 @@ if [ -z $wall ]; then
|
|||
exit 1
|
||||
fi
|
||||
output=$(niri msg -j focused-output | jq -r .name)
|
||||
swww img -o $output $wallpapers_dir/$wall --transition-type random --transition-duration 1 --namespace background
|
||||
awww img -o $output $wallpapers_dir/$wall --transition-type random --transition-duration 1 --namespace background
|
||||
blurwall=$(echo $wall | sed 's/\.jpg$/-blurred.jpg/')
|
||||
swww img -o $output $wallpapers_dir/$blurwall --transition-type fade --namespace backdrop
|
||||
awww img -o $output $wallpapers_dir/$blurwall --transition-type fade --namespace backdrop
|
||||
echo $wall > $HOME/Pictures/Wallpapers/"$output"-file
|
||||
echo $blurwall > $HOME/Pictures/Wallpapers/"$output"-blurred-file
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@ wall=$(yad --file)
|
|||
if [[ $wall == "" ]]; then
|
||||
exit
|
||||
fi
|
||||
swww img $wall --transition-type random --transition-duration 1
|
||||
awww img $wall --transition-type random --transition-duration 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue