about summary refs log tree commit diff stats
path: root/hm/soispha/wms/river/init
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-12-17 10:07:58 +0100
committerSoispha <soispha@vhack.eu>2023-12-17 10:07:58 +0100
commitabed162c54ad434c8a723aabba74ec98b5ae8f68 (patch)
tree4645ca0f5cd6ebe9c2ac22ea00921f76bda46d45 /hm/soispha/wms/river/init
parentfix(hm/pkgs/scr/spodi): Use the full range of audio providers (diff)
downloadnixos-config-abed162c54ad434c8a723aabba74ec98b5ae8f68.zip
fix(hm/wms/river/init): Set env vars from nix config
Recursive variable assignment is apparently not supported by posix shell.
Diffstat (limited to 'hm/soispha/wms/river/init')
-rwxr-xr-xhm/soispha/wms/river/init5
1 files changed, 2 insertions, 3 deletions
diff --git a/hm/soispha/wms/river/init b/hm/soispha/wms/river/init
index 778837cc..a77f0dde 100755
--- a/hm/soispha/wms/river/init
+++ b/hm/soispha/wms/river/init
@@ -18,8 +18,7 @@ exec 2>> "$HOME"/river_log
 
 #Setup of environment variables {{{
 err_fail riverctl spawn "exec dbus-update-activation-environment SEATD_SOCK DISPLAY WAYLAND_DISPLAY DESKTOP_SESSION=river XDG_CURRENT_DESKTOP=river"
-export XDG_CURRENT_DESKTOP=river
-ENV_VARS="XDG_CURRENT_DESKTOP=river DESKTOP_SESSION=river"
+export @env_vars@
 #}}}
 
 # Setup of mappings {{{
@@ -73,7 +72,7 @@ err_fail alacritty &
 
 # Setup of layout [acts as exec!] {{{
 err_fail riverctl default-layout rivertile
-$ENV_VARS rivertile -main-ratio 0.5 -view-padding 1 -outer-padding 0
+@env_vars@ rivertile -main-ratio 0.5 -view-padding 1 -outer-padding 0
 
 #riverctl default-layout luatile
 #river-luatile