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"
|
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
|
# source = ~/.config/hypr/myColors.conf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
################
|
################
|
||||||
### MONITORS ###
|
### MONITORS ###
|
||||||
################
|
################
|
||||||
@@ -27,7 +28,7 @@ enable_color_management = true
|
|||||||
# monitor=,preferred,auto,auto
|
# monitor=,preferred,auto,auto
|
||||||
|
|
||||||
source = ~/.config/hypr/env
|
source = ~/.config/hypr/env
|
||||||
source = $MONITOR_SETUP
|
source = $HYPR_MONITOR_SETUP
|
||||||
# source = ~/.config/hypr/modules/monitor_setup_buntes_monster.conf
|
# source = ~/.config/hypr/modules/monitor_setup_buntes_monster.conf
|
||||||
|
|
||||||
# unscale XWayland
|
# 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]
|
[default]
|
||||||
path = "/home/mathias/nextcloud/Photos/Wallpapers/"
|
path = $HYPR_WALLPAPER_PATH
|
||||||
mode = "center"
|
mode = "center"
|
||||||
#recursive = true
|
#recursive = true
|
||||||
#sorting = "random"
|
#sorting = "random"
|
||||||
|
|||||||
Reference in New Issue
Block a user