This repository has been archived on 2023-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/.local/bin/dmenupass
David JULIEN 28dfdd5ae5 feat: change shebang to /usr/bin/env sh
this setting is more user-config compliant
2021-02-12 23:20:57 +01:00

18 lines
533 B
Bash
Executable File

#!/usr/bin/env sh
######################################################################
# @author : swytch (adapted from Luke Smith - lukesmith.xyz)
# @file : dmenupass
# @license : MIT
# @created : Wednesday May 20, 2020 18:08:50 CEST
#
# @description : [sudo] prompt (SUDO_ASKPASS variable)
######################################################################
col_yellow="#ffeca3"
col_black="#1d2021"
col_orange="#f7a583"
dmenu -sb $col_orange -sf $col_black -nf "#000000" -nb "#000000" -p "$1" <&-