env robust und inkl. Wallpaper Path

This commit is contained in:
2026-03-01 21:16:03 +01:00
parent 03cbc97d47
commit 38a8f30367
4 changed files with 13 additions and 2 deletions
+1
View File
@@ -1,2 +1,3 @@
MONITOR_SETUP=".config/hypr/modules/monitor_setup_0_auto.conf"
env = HYPR_WALLPAPER_PATH,~/nextcloud/Photos/Wallpapers/
+2 -1
View File
@@ -17,6 +17,7 @@
# source = ~/.config/hypr/myColors.conf
################
### MONITORS ###
################
@@ -27,7 +28,7 @@ enable_color_management = true
# monitor=,preferred,auto,auto
source = ~/.config/hypr/env
source = $MONITOR_SETUP
source = $HYPR_MONITOR_SETUP
# source = ~/.config/hypr/modules/monitor_setup_buntes_monster.conf
# unscale XWayland
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env sh
set -eu # Exit immediately if a command exits with a non-zero status, and treat unset variables as an error.
if [ ! -f "hypr/.config/hypr/env" ]; then
cp "hypr/.config/hypr/env_template" "hypr/.config/hypr/env"
echo "Created hypr/.config/hypr/env from template."
fi
+1 -1
View File
@@ -1,5 +1,5 @@
[default]
path = "/home/mathias/nextcloud/Photos/Wallpapers/"
path = $HYPR_WALLPAPER_PATH
mode = "center"
#recursive = true
#sorting = "random"