fmt: use treefmt-nix

This commit is contained in:
EdenQwQ 2025-03-02 12:49:19 +08:00
parent 6b551fb01d
commit 4667f69f52
5 changed files with 286 additions and 135 deletions

View file

@ -3,7 +3,7 @@
wallpapers_dir="$HOME/Pictures/Wallpapers/generated"
wall=$(ls $wallpapers_dir | grep -v '\-blurred\.jpg$' | tofi)
if [ -z $wall ]; then
exit
exit
fi
output=$(niri msg -j focused-output | jq -r .name)
swww img -o $output $wallpapers_dir/$wall --transition-type random --transition-duration 1

View file

@ -2,6 +2,6 @@
wall=$(yad --file)
if [[ $wall == "" ]]; then
exit
exit
fi
swww img $wall --transition-type random --transition-duration 1