25 lines
615 B
Bash
Executable File
25 lines
615 B
Bash
Executable File
#!/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/
|
|
|
|
if [[ $(pidof waybar) ]]; then
|
|
killall -SIGUSR2 waybar
|
|
else
|
|
waybar 2>&1 >/dev/null &
|
|
fi
|
|
|
|
swaybg -m fill -i "$(<"${HOME}/.cache/wal/wal")" &
|
|
|
|
$HOME/.config/mako/update_theme.sh
|
|
|
|
$HOME/.config/niri/generate_kdl.sh
|
|
|
|
niri msg action do-screen-transition --delay-ms 300
|
|
|
|
notify-send -i "$(<"${HOME}/.cache/wal/wal")" "Theme Changed"
|