New beggining.

This commit is contained in:
Crony Akatsuki 2022-12-26 14:20:37 +01:00
commit 6964b2b200
33 changed files with 1281 additions and 0 deletions

11
toggle-program Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
# Toggles a problem on and off
ID=$(pgrep "$1")
if [ -z "$ID" ]; then
"$@" & disown $1
quick-notify "Program Toggler" "$1 started"
else
killall $1 && quick-notify "Program Toggler" "$1 killed"
fi