al-skel/home/bin/toggle-polybar

10 lines
205 B
Bash
Executable File

#!/usr/bin/env bash
# small script to kill polybar if it is running
# if it isnt running then start it the default session
if [[ $(pidof polybar) ]]; then
pkill polybar
else
al-polybar-session
fi