scripts/wofi/wofi-drun.sh

11 lines
224 B
Bash
Raw Normal View History

2022-09-17 21:02:46 +00:00
#!/bin/bash
WOFI=$(pgrep -xc wofi | cut -b 1)
echo $WOFI
if [[ "$WOFI" -eq "0" ]]; then
2023-01-06 19:41:31 +00:00
wofi -s /home/jpm/.dotfiles/wofi/style.css -c $HOME/.dotfiles/wofi/sidebar --show drun -I
2022-09-17 21:02:46 +00:00
else
2023-01-06 19:41:31 +00:00
killall wofi 2&>1 /dev/null
2022-09-17 21:02:46 +00:00
fi