From 5fb5109302281eaf6963ba1810bc251d49650f40 Mon Sep 17 00:00:00 2001 From: Zedhugh Chen Date: Wed, 14 Oct 2020 01:06:50 +0800 Subject: [PATCH] add suspend and hibernate script for user --- autoproxy.pac | 1 + script/hibernate | 3 +++ script/suspend | 3 +++ 3 files changed, 7 insertions(+) create mode 100644 script/hibernate create mode 100644 script/suspend diff --git a/autoproxy.pac b/autoproxy.pac index 2b9d95b..a658a26 100644 --- a/autoproxy.pac +++ b/autoproxy.pac @@ -25,6 +25,7 @@ var rules = [ "*reddit.com*", "*redditmedia.com*", "*quantserve.com*", + "*gentoo.org*", "*redd.it*", "*redditstatic.com*" ] diff --git a/script/hibernate b/script/hibernate new file mode 100644 index 0000000..a058b65 --- /dev/null +++ b/script/hibernate @@ -0,0 +1,3 @@ +#!/bin/sh + +loginctl hibernate diff --git a/script/suspend b/script/suspend new file mode 100644 index 0000000..8893e9e --- /dev/null +++ b/script/suspend @@ -0,0 +1,3 @@ +#!/bin/sh + +loginctl suspend