From a27848fc98289795e6e4e61322f3e7d425a707b3 Mon Sep 17 00:00:00 2001 From: krolyxon Date: Tue, 21 Jun 2022 17:17:53 +0530 Subject: [PATCH] SUDO_ASKPASS variable set --- .config/alacritty/alacritty.yml | 48 ++++++++++++++++----------------- .config/shell/aliasrc | 1 + .config/shell/profile | 1 + .local/bin/dmenupass | 6 +++++ .local/share/vocab/words.txt | 4 +++ 5 files changed, 36 insertions(+), 24 deletions(-) create mode 100755 .local/bin/dmenupass diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index ff01e9b..b0b2644 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -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 # diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index 0458438..ad6afdb 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -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 \ diff --git a/.config/shell/profile b/.config/shell/profile index 4fc550d..6b177f8 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -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 diff --git a/.local/bin/dmenupass b/.local/bin/dmenupass new file mode 100755 index 0000000..b8e2f1b --- /dev/null +++ b/.local/bin/dmenupass @@ -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 diff --git a/.local/share/vocab/words.txt b/.local/share/vocab/words.txt index 1f4fbc5..af01f21 100644 --- a/.local/share/vocab/words.txt +++ b/.local/share/vocab/words.txt @@ -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