added power manager

This commit is contained in:
Shihaam Abdul Rahman 2023-03-17 16:53:49 +05:00
parent 8f63f6fbf8
commit 952a809d70
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636
2 changed files with 5 additions and 1 deletions

View File

@ -207,3 +207,6 @@ exec --no-startup-id /home/shihaam/.scripts/scrcpy-autostart
# start activty watcher # start activty watcher
exec --no-startup-id aw-qt exec --no-startup-id aw-qt
# start power mmanager
exec --no-startup-id xfce4-power-manager

View File

@ -4,7 +4,8 @@ while true; do
if [ -L /dev/android_adb ] if [ -L /dev/android_adb ]
then then
scrcpy --turn-screen-off --stay-awake & sndcpy # scrcpy --turn-screen-off --stay-awake & sndcpy
scrcpy --turn-screen-off --stay-awake
else else
adb wait-for-device adb wait-for-device
fi fi