summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdesktop/.config/river/init6
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/.config/river/init b/desktop/.config/river/init
index 798dbad..b3306fb 100755
--- a/desktop/.config/river/init
+++ b/desktop/.config/river/init
@@ -1,11 +1,13 @@
#!/bin/sh
+# TODO Probably better to put this in a script.
+emacsclient -e "(progn $(for v in WAYLAND_DISPLAY DISPLAY SSH_AUTH_SOCK; do echo -n "(setenv \"$v\" \"$(eval echo \$${v})\")"; done) (message \"Imported environment\"))" &
riverctl spawn "kanshi"
riverctl spawn "waybar"
riverctl spawn "nm-applet --indicator"
riverctl spawn "swayidle timeout 300 swaylock before-sleep swaylock"
-riverctl spawn "dbus-update-activation-environment --systemd WAYLAND_DISPLAY QT_QPT_PLATFORM XDG_CURRENT_DESKTOP=river"
-riverctl spawn "systemctl --user import-environment WAYLAND_DISPLAY QT_QPA_PLATFORM"
+riverctl spawn "dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY QT_QPT_PLATFORM XDG_CURRENT_DESKTOP=river"
+riverctl spawn "systemctl --user import-environment WAYLAND_DISPLAY QT_QPA_PLATFORM DISPLAY"
riverctl spawn "systemctl --user set-environment XDG_CURRENT_DESKTOP=river"
riverctl spawn dunst
riverctl spawn firefox