Move .scripts -> .local/bin

This commit is contained in:
Riyyi
2021-02-25 20:16:07 +01:00
parent 3ac7d9f601
commit ba10984084
40 changed files with 93 additions and 94 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
# Binary prompt script.
# Prompt rofi with label $1 to perform command $2.
#
# Example:
# $ rofiprompt "Are you sure you want to shutdown?" "poweroff"
[ "$(printf 'No\nYes' | rofi -dmenu -i -p "$1" -lines 2 \
-color-window "#524040, #dc7a43, #fff" \
-color-normal "#524040, #fff, #524040, #fff, #707880")" = "Yes" ] && $2