+ Setting up new playbook for a lab server
This commit is contained in:
10
reset-polybar-i3
Executable file
10
reset-polybar-i3
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Make sure we don't start up two instances at once
|
||||
pbar_id=`pgrep polybar`
|
||||
if [ ! -z $pbar_id ];then
|
||||
kill `pgrep $pbar_id`
|
||||
fi
|
||||
|
||||
# Start up polybar now that none are running
|
||||
polybar cute
|
||||
Reference in New Issue
Block a user