dotfiles/hypr/scripts/wofi_menu
2024-10-23 11:53:39 +02:00

15 lines
324 B
Bash
Executable File

#!/usr/bin/env bash
## Copyright (C) 2020-2024 Aditya Shakya <adi1090x@gmail.com>
##
## launch wofi with alt config
CONFIG="$HOME/.config/hypr/wofi/config"
STYLE="$HOME/.config/hypr/wofi/style.css"
if [[ ! `pidof wofi` ]]; then
wofi --show drun --prompt 'Search...' --conf ${CONFIG} --style ${STYLE}
else
pkill wofi
fi