mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-01-25 00:57:12 +08:00
fmt: use treefmt-nix
This commit is contained in:
parent
6b551fb01d
commit
4667f69f52
5 changed files with 286 additions and 135 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
wall=$(yad --file)
|
||||
if [[ $wall == "" ]]; then
|
||||
exit
|
||||
exit
|
||||
fi
|
||||
swww img $wall --transition-type random --transition-duration 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue