Clean up configs, remove bashrc conflicting with bash
This commit is contained in:
11
home/bin/toggle-polybar
Executable file
11
home/bin/toggle-polybar
Executable file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
if pgrep -x polybar >/dev/null; then
|
||||
pkill polybar
|
||||
|
||||
else
|
||||
launch-polybar >/dev/null 2>&1
|
||||
|
||||
fi
|
||||
|
Reference in New Issue
Block a user