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

18 lines
532 B
Plaintext
Raw Normal View History

#!/usr/bin/env sh
2020-05-06 03:20:19 +02:00
######################################################################
2021-02-14 19:07:45 +01:00
# @author : swytch (adapted from Luke Smith - lukesmith.xyz)
# @file : dmenupass
# @license : GPLv3
2021-02-14 19:07:45 +01:00
# @created : Wednesday May 20, 2020 18:08:50 CEST
#
2021-02-14 19:07:45 +01:00
# @description : [sudo] prompt (SUDO_ASKPASS variable)
######################################################################
2020-05-06 03:20:19 +02:00
col_yellow="#ffeca3"
col_black="#1d2021"
col_orange="#f7a583"
2021-03-10 20:35:09 +01:00
dmenu -sb $col_orange -sf $col_black -nf $col_black -nb $col_black -p "$1" <&-