View Single Post
Old 03-27-2020, 12:30 AM   #5
yparitcher
Connoisseur
yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.
 
Posts: 52
Karma: 616590
Join Date: Feb 2019
Device: K4 KT4 PW4 PW5
in /usr/sbin/shipping_mode

i came across this tidbit:

Code:
# Disable the Nightmode if the Nightmode is enabled
if [ "$(devcap-get-feature -a nightmode)" -eq "1" ]; then
    epdcMode=$(lipc-get-prop com.lab126.winmgr epdcMode)
    if [ "$epdcMode" = "Y8INV" ]; then
        lipc-set-prop com.lab126.winmgr epdcMode Y8
        epdcMode=$(lipc-get-prop com.lab126.winmgr epdcMode)
        if [ "$epdcMode" != "Y8" ]; then
            logger -t system -- "Failed to disable the Nightmode before shipping mode"
        fi
    fi
fi
I dont have a PW4 so i cant try it but
Code:
lipc-set-prop com.lab126.winmgr epdcMode Y8INV
should turn on Nightmode and
Code:
lipc-set-prop com.lab126.winmgr epdcMode Y8
should turn it off.


someone please let me know if this works.
yparitcher is offline   Reply With Quote