diff options
Diffstat (limited to 'config/hypr/scripts/Wofi.sh')
| -rwxr-xr-x | config/hypr/scripts/Wofi.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/hypr/scripts/Wofi.sh b/config/hypr/scripts/Wofi.sh new file mode 100755 index 00000000..9b78bee0 --- /dev/null +++ b/config/hypr/scripts/Wofi.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +CONFIG="$HOME/.config/wofi/config" +STYLE="$HOME/.config/wofi/style.css" +COLORS="$HOME/.config/wofi/colors" + +if [[ ! $(pidof wofi) ]]; then + wofi --show drun --prompt 'Search...' --conf ${CONFIG} --style ${STYLE} --color ${COLORS} +else + pkill wofi +fi |
