mirror of
https://git.davidovski.xyz/dot.git
synced 2024-08-15 00:43:28 +00:00
initial commit
This commit is contained in:
commit
01ced0b7ce
184 changed files with 35358 additions and 0 deletions
16
scripts/revive-chrome-gpu
Executable file
16
scripts/revive-chrome-gpu
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue