wip waybar and swaync updates

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-08-24 22:11:54 -05:00
parent d1053b6282
commit 69de4ca87b
11 changed files with 124 additions and 15 deletions

View file

@ -0,0 +1,14 @@
#!/usr/bin/env bash
COMMAND_TO_RUN="$1"
PROMPT_MESSAGE="$2"
if [ -z "$PROMPT_MESSAGE" ]; then
PROMPT_MESSAGE="Are you sure?"
fi
choice=$(echo -e "No\nYes" | wofi --dmenu --location center -p "$PROMPT_MESSAGE")
if [ "$choice" == "Yes" ]; then
eval "$COMMAND_TO_RUN"
fi