mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-02-22 21:05:50 +08:00
init
This commit is contained in:
commit
96895ec3aa
100 changed files with 6349 additions and 0 deletions
9
home/programs/desktop/scripts/change-wal-niri
Executable file
9
home/programs/desktop/scripts/change-wal-niri
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
wallpapers_dir="$HOME/Pictures/Wallpapers/generated"
|
||||
wall=$(ls $wallpapers_dir | grep -v '\-blurred\.jpg$' | tofi)
|
||||
if [ -z $wall ]; then
|
||||
exit
|
||||
fi
|
||||
output=$(niri msg -j focused-output | jq -r .name)
|
||||
swww img -o $output $wallpapers_dir/$wall --transition-type random --transition-duration 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue