move wal update, do not show niri hotkeys

This commit is contained in:
2025-10-17 19:11:36 +02:00
parent 99098d46dc
commit e0c19a61f8
2 changed files with 3 additions and 3 deletions

23
config/wal/wal_update.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
if [[ $(pidof swaybg) ]]; then
pkill swaybg
fi
wal -q -n --cols16 --recursive -i /usr/share/endeavouros/backgrounds/
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 100
notify-send -i "$(<"${HOME}/.cache/wal/wal")" "Theme Changed"