chore: update configs
This commit is contained in:
12
.config/waybar/scripts/close-screen-recorder.sh
Executable file
12
.config/waybar/scripts/close-screen-recorder.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#! /usr/bin/env bash
|
||||
|
||||
main() {
|
||||
pid="$(pgrep "wf-recorder" || pgrep "slurp")"
|
||||
status=$?
|
||||
|
||||
if [[ $status == 0 ]]; then
|
||||
pkill --signal SIGINT wf-recorder
|
||||
fi
|
||||
}
|
||||
|
||||
main $@
|
Reference in New Issue
Block a user