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.