aboutsummaryrefslogtreecommitdiff
path: root/X
diff options
context:
space:
mode:
Diffstat (limited to 'X')
-rw-r--r--X/xinitrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/X/xinitrc b/X/xinitrc
index 5e3af7e1..3b9c13ea 100644
--- a/X/xinitrc
+++ b/X/xinitrc
@@ -2,6 +2,12 @@
BROWSER=firefox
export BROWSER
+# Set SSH_ASKPASS if we can find one
+if command -v ssh-askpass >/dev/null 2>&1 ; then
+ SSH_ASKPASS=$(command -v ssh-askpass)
+ export SSH_ASKPASS
+fi
+
# Read X resources
xrdb "${XRESOURCES:-$HOME/.Xresources}"