tint2 toggle
This commit is contained in:
9
bin/tint2_toggle
Executable file
9
bin/tint2_toggle
Executable file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# tint2_toggle
|
||||||
|
|
||||||
|
if pgrep -afu $USER "tint2 -c " 2>/dev/null; then
|
||||||
|
killall -u $USER tint2
|
||||||
|
else
|
||||||
|
mb-tint2-session &
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user