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

View File

@@ -275,7 +275,7 @@ spawn-at-startup "waybar"
hotkey-overlay {
// Uncomment this line to disable the "Important Hotkeys" pop-up at startup.
// skip-at-startup
skip-at-startup
}
// Uncomment this line to ask the clients to omit their client-side decorations if possible.
@@ -585,7 +585,7 @@ binds {
// rather than stacked on top of each other.
Mod+W { toggle-column-tabbed-display; }
Mod+Shift+W { spawn-sh "$HOME/.config/niri/wal.sh"; }
Mod+Shift+W { spawn-sh "$HOME/.config/wal/wal_update.sh"; }
// Actions to switch layouts.
// Note: if you uncomment these, make sure you do NOT have

View File

@@ -1,23 +0,0 @@
#!/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 300
notify-send -i "$(<"${HOME}/.cache/wal/wal")" "Theme Changed"