add suspend and hibernate script for user

This commit is contained in:
2020-10-14 01:06:50 +08:00
parent de263ac157
commit 5fb5109302
3 changed files with 7 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ var rules = [
"*reddit.com*",
"*redditmedia.com*",
"*quantserve.com*",
"*gentoo.org*",
"*redd.it*",
"*redditstatic.com*"
]

3
script/hibernate Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
loginctl hibernate

3
script/suspend Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
loginctl suspend