Initial Ubuntu 24.04 Niri installer

This commit is contained in:
wuyang
2026-07-27 13:39:29 +08:00
commit 1b0af7b3ff
12 changed files with 900 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -euo pipefail
state="${XDG_CONFIG_HOME:-$HOME/.config}/niri-beyond-glass/wallpaper"
wallpaper=""
if [[ -s "$state" ]]; then
IFS= read -r wallpaper < "$state"
fi
if [[ -n "$wallpaper" && -f "$wallpaper" ]]; then
exec swaybg -m fill -i "$wallpaper"
fi
exec swaybg -c '#15171a'