From 99f9b6f889cc98c9f8c01354b898c2048cc1db70 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 28 May 2023 22:12:00 +0200 Subject: Docs(hm/wms/river/init): Add a hint to simplify script --- home-manager/wms/river/init | 2 ++ 1 file changed, 2 insertions(+) (limited to 'home-manager/wms') diff --git a/home-manager/wms/river/init b/home-manager/wms/river/init index 59afa68a..61efd645 100755 --- a/home-manager/wms/river/init +++ b/home-manager/wms/river/init @@ -14,6 +14,8 @@ err_fail rm ~/river_log exec 1>> "$HOME"/river_log exec 2>> "$HOME"/river_log +#trap err_fail ERR + #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 -- cgit 1.4.1