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
525 B
Plaintext
Raw Normal View History

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