about summary refs log tree commit diff stats
path: root/hm/soispha/wms/river
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-11-25 13:01:21 +0100
committerSoispha <soispha@vhack.eu>2023-11-25 13:01:21 +0100
commitb57ee1e7135c64bcd95a86c63aabd6696bfe355f (patch)
treedbee366b6f97e2cfc4921747af31d650ea43e06a /hm/soispha/wms/river
parentchore(treewide): Update shell library (diff)
downloadnixos-config-b57ee1e7135c64bcd95a86c63aabd6696bfe355f.zip
fix(sys/svcs/xdg/portals): Use new configuration scheme
Diffstat (limited to 'hm/soispha/wms/river')
-rwxr-xr-xhm/soispha/wms/river/init5
1 files changed, 3 insertions, 2 deletions
diff --git a/hm/soispha/wms/river/init b/hm/soispha/wms/river/init
index 1fd52eee..f2fe3eb6 100755
--- a/hm/soispha/wms/river/init
+++ b/hm/soispha/wms/river/init
@@ -1,4 +1,4 @@
-#!/usr/bin/env dash
+#!/usr/bin/env bash
 
 # shellcheck source=/dev/null
 SHELL_LIBRARY_VERSION="1.7.0" . %SHELL_LIBRARY_PATH
@@ -19,6 +19,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"
 err_fail export XDG_CURRENT_DESKTOP=river
+err_fail ENV_VARS="XDG_CURRENT_DESKTOP=river DESKTOP_SESSION=river"
 #}}}
 
 # Setup of mappings {{{
@@ -72,7 +73,7 @@ err_fail alacritty &
 
 # Setup of layout [acts as exec!] {{{
 err_fail riverctl default-layout rivertile
-err_fail 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