env robust und inkl. Wallpaper Path
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
MONITOR_SETUP=".config/hypr/modules/monitor_setup_0_auto.conf"
|
||||
|
||||
env = HYPR_WALLPAPER_PATH,~/nextcloud/Photos/Wallpapers/
|
||||
|
||||
@@ -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
|
||||
|
||||
Executable
+9
@@ -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,5 +1,5 @@
|
||||
[default]
|
||||
path = "/home/mathias/nextcloud/Photos/Wallpapers/"
|
||||
path = $HYPR_WALLPAPER_PATH
|
||||
mode = "center"
|
||||
#recursive = true
|
||||
#sorting = "random"
|
||||
|
||||
Reference in New Issue
Block a user