SUDO_ASKPASS variable set

This commit is contained in:
krolyxon 2022-06-21 17:17:53 +05:30
parent fd20f3a9da
commit a27848fc98
5 changed files with 36 additions and 24 deletions

View File

@ -61,39 +61,39 @@ colors:
# Normal colors
normal:
black: '0x1e2127'
red: '0xe06c75'
green: '0x98c379'
yellow: '0xd19a66'
blue: '0x61afef'
magenta: '0xc678dd'
cyan: '0x56b6c2'
white: '0x828791'
black: '#1e2127'
red: '#e06c75'
green: '#98c379'
yellow: '#d19a66'
blue: '#61afef'
magenta: '#c678dd'
cyan: '#56b6c2'
white: '#828791'
# Bright colors
bright:
black: '0x5c6370'
red: '0xe06c75'
green: '0x98c379'
yellow: '0xd19a66'
blue: '0x61afef'
magenta: '0xc678dd'
cyan: '0x56b6c2'
white: '0xe6efff'
black: '#5c6370'
red: '#e06c75'
green: '#98c379'
yellow: '#d19a66'
blue: '#61afef'
magenta: '#c678dd'
cyan: '#56b6c2'
white: '#e6efff'
# Dim colors
#
# If the dim colors are not set, they will be calculated automatically based
# on the `normal` colors.
dim:
black: '0x1e2127'
red: '0xe06c75'
green: '0x98c379'
yellow: '0xd19a66'
blue: '0x61afef'
magenta: '0xc678dd'
cyan: '0x56b6c2'
white: '0x828791'
black: '#1e2127'
red: '#e06c75'
green: '#98c379'
yellow: '#d19a66'
blue: '#61afef'
magenta: '#c678dd'
cyan: '#56b6c2'
white: '#828791'
# Indexed Colors
#

View File

@ -13,6 +13,7 @@ alias \
cl='clear' \
dots='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' \
fm='ranger' \
hst='history 1 -1 | cut -c 8- | sort | uniq | fzf | tr -d '\n' | xclip -sel c'
# Verbosity and settings that you pretty much just always are going to want.
alias \

View File

@ -24,6 +24,7 @@ export WGETRC="${XDG_CONFIG_HOME:-$HOME/.config}/wget/wgetrc"
export __GL_SHADER_DISK_CACHE_PATH=~/.cache/
# Other program settings
export SUDO_ASKPASS="$HOME/.local/bin/dmenupass"
export FZF_DEFAULT_OPTS="--layout=reverse --height 40%"
export PATH=$PATH:$HOME/.local/bin

6
.local/bin/dmenupass Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
# This script is the SUDO_ASKPASS variable, meaning that it will be used as a
# password prompt if needed.
dmenu -P -p "$1" <&- && echo

View File

@ -69,3 +69,7 @@ duress -> threats, violence, constrains, or other actions used to coerce someone
detriment -> the state of being harmed or damaged
alleviate -> make (suffering, deficiency, or a problem) less severe
sentient -> able to perceive or feel things
contiguous -> sharing a common border; touching.
concurrent -> operating or occuring at the same time
vague -> of uncertain, indefinite, or unclear character or meaning
concise -> giving a lot of information cleary and in a few words; brief but comprehensive