create wal script
This commit is contained in:
20
config/niri/wal.sh
Executable file
20
config/niri/wal.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ $(pidof swaybg) ]]; then
|
||||
pkill swaybg
|
||||
fi
|
||||
|
||||
#wal -q -n --iterative -i ~/Pictures/niribg
|
||||
wal -q -n -i /usr/share/endeavouros/backgrounds/ -i /usr/share/endeavouros/backgrounds/eos_wallpapers_classic/ -i /usr/share/endeavouros/backgrounds/eos_wallpapers_community/
|
||||
|
||||
notify-send -i "$(<"${HOME}/.cache/wal/wal")" "Theme Changed"
|
||||
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -SIGUSR2 waybar
|
||||
fi
|
||||
|
||||
swaybg -m fill -i "$(<"${HOME}/.cache/wal/wal")" &
|
||||
|
||||
#/home/void/.config/mako/update-theme.sh
|
||||
|
||||
niri msg action do-screen-transition --delay-ms 300
|
||||
Reference in New Issue
Block a user