summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-12-16 14:34:02 -0500
committerLuke Smith <luke@lukesmith.xyz>2018-12-16 14:34:02 -0500
commiteb7ad7220af78d10be832a25ede1693669cd69c0 (patch)
tree96b07f922b5afe7d51d8144103b455a485c950bf
parent4cb6e5451b40766211e7b7ded243347d55d69153 (diff)
downloadeibhear-eb7ad7220af78d10be832a25ede1693669cd69c0.tar.gz
eibhear-eb7ad7220af78d10be832a25ede1693669cd69c0.tar.zst
eibhear-eb7ad7220af78d10be832a25ede1693669cd69c0.zip
askpass command added
-rw-r--r--.profile1
-rwxr-xr-x.scripts/tools/dmenupass2
2 files changed, 3 insertions, 0 deletions
diff --git a/.profile b/.profile
index 42f079b..a26b4ce 100644
--- a/.profile
+++ b/.profile
@@ -11,6 +11,7 @@ export BIB="$HOME/Documents/LaTeX/uni.bib"
export REFER="$HOME/.referbib"
# PIX is here I have LARBS keep icons. Subject to change, hence a variable.
export PIX="$HOME/.scripts/pix"
+export SUDO_ASKPASS="$HOME/.scripts/tools/dmenupass"
# less/man colors
export LESS=-R
diff --git a/.scripts/tools/dmenupass b/.scripts/tools/dmenupass
new file mode 100755
index 0000000..7339d41
--- /dev/null
+++ b/.scripts/tools/dmenupass
@@ -0,0 +1,2 @@
+#!/bin/sh
+dmenu -fn Monospace-18 -sb "#d79921" -sf "#1d2021" -nf "#000000" -nb "#000000" -p "Please type password and press Enter." <&- && echo