Initial Ubuntu 24.04 Niri installer
This commit is contained in:
Executable
+15
@@ -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'
|
||||
Reference in New Issue
Block a user