mirror of
https://git.davidovski.xyz/dot.git
synced 2024-08-07 13:07:21 +00:00
17 lines
252 B
Bash
Executable file
17 lines
252 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ "$2" = "suspend" ] || [ "$2" = "hybrid-sleep" ]
|
|
then
|
|
case "$1" in
|
|
pre)
|
|
true
|
|
;;
|
|
post)
|
|
sleep 1
|
|
pkill -f 'brave \-\-type=gpu-process'
|
|
;;
|
|
esac
|
|
fi
|