scripts/wofi/wofi-drun.sh

11 lines
232 B
Bash
Executable File

#!/bin/bash
WOFI=$(pgrep -xc wofi | cut -b 1)
echo $WOFI
if [[ "$WOFI" -eq "0" ]]; then
wofi -s /home/jpm/.dotfiles/wofi/style.css -c $HOME/.dotfiles/wofi/sidebar --show drun -I
else
killall wofi 2&>1 /dev/null
fi