aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-04-12 00:09:13 +0300
committerYaroslav <contact@yaroslavps.com>2020-04-12 00:09:13 +0300
commit5c0c5fd9a67e38854d5a9e02b6523e1c0cf5657d (patch)
tree6545c4e12ab72d5aa99ff82fbebc4fdb467de177 /dotfiles/.local
parent5110d6bacd47f94a6d90636e24c76d2f1e7ced8e (diff)
downloadswayrice-5c0c5fd9a67e38854d5a9e02b6523e1c0cf5657d.tar.gz
swayrice-5c0c5fd9a67e38854d5a9e02b6523e1c0cf5657d.zip
updated script to export env variables to cron scripts
Diffstat (limited to 'dotfiles/.local')
-rwxr-xr-xdotfiles/.local/bin/setsessionenv6
1 files changed, 5 insertions, 1 deletions
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" \