readded udpated scripts directory
This commit is contained in:
parent
cd053a412a
commit
f3117c81d9
84 changed files with 3210 additions and 0 deletions
7
scripts/prompt
Executable file
7
scripts/prompt
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
# Opens a basic yes/no prompt with dmenu
|
||||
# This is useful for confirming whether an action should be taken
|
||||
|
||||
if [ $(printf "No\nYes" | dmenu -i -p "$1") = "Yes" ]; then
|
||||
$2
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue