New beggining.
This commit is contained in:
commit
6964b2b200
33 changed files with 1281 additions and 0 deletions
10
restart-program
Executable file
10
restart-program
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
# Restarts a program
|
||||
|
||||
[ -z "$1" ] && exit 1
|
||||
|
||||
ID=$(pgrep "$1")
|
||||
|
||||
kill -9 $ID
|
||||
$@ &>/dev/null & disown
|
||||
quick-notify "Program Restarter" "$1 restarted"
|
Loading…
Add table
Add a link
Reference in a new issue