From 5c0c5fd9a67e38854d5a9e02b6523e1c0cf5657d Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Sun, 12 Apr 2020 00:09:13 +0300 Subject: updated script to export env variables to cron scripts --- dotfiles/.local/bin/setsessionenv | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dotfiles/.local') diff --git a/dotfiles/.local/bin/setsessionenv b/dotfiles/.local/bin/setsessionenv index 8d8459d..3d7b161 100755 --- a/dotfiles/.local/bin/setsessionenv +++ b/dotfiles/.local/bin/setsessionenv @@ -3,7 +3,9 @@ # Create a file with the env variables of the current wayland session so that # cron scripts can source it and function properly -printf "export DISPLAY=%s +printf "export PASSWORD_STORE_DIR=%s +export GTK2_RC_FILES=%s +export DISPLAY=%s export WAYLAND_DISPLAY=%s export XDG_SESSION_ID=%s export XDG_SESSION_CLASS=%s @@ -11,6 +13,8 @@ export XDG_SEAT=%s export XDG_RUNTIME_DIR=%s export I3SOCK=%s export SWAYSOCK=%s"\ + "$PASSWORD_STORE_DIR" \ + "$GTK2_RC_FILES" \ "$DISPLAY" \ "$WAYLAND_DISPLAY" \ "$XDG_SESSION_ID" \ -- cgit v1.2.3