From 952a809d70214b0f1aa60512491a9060d6d68f7f Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Fri, 17 Mar 2023 16:53:49 +0500 Subject: [PATCH] added power manager --- config/i3/config | 3 +++ scripts/scrcpy-autostart | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config/i3/config b/config/i3/config index 464120f..7ed264a 100644 --- a/config/i3/config +++ b/config/i3/config @@ -207,3 +207,6 @@ exec --no-startup-id /home/shihaam/.scripts/scrcpy-autostart # start activty watcher exec --no-startup-id aw-qt + +# start power mmanager +exec --no-startup-id xfce4-power-manager diff --git a/scripts/scrcpy-autostart b/scripts/scrcpy-autostart index 02af24e..0c8f3ee 100755 --- a/scripts/scrcpy-autostart +++ b/scripts/scrcpy-autostart @@ -4,7 +4,8 @@ while true; do if [ -L /dev/android_adb ] then - scrcpy --turn-screen-off --stay-awake & sndcpy +# scrcpy --turn-screen-off --stay-awake & sndcpy + scrcpy --turn-screen-off --stay-awake else adb wait-for-device fi