

2·
2 months agoI use this in a cronjob to turn a raspberry pi screen off at night and back on in the morning:
wlr-randr --output "HDMI-A-1" --off
wlr-randr --output "HDMI-A-1" --on
I’ve also go this environment variable set but I don’t know if it is needed outside of cron:
XDG_RUNTIME_DIR=/run/user/1000

You should read the article. It has a section specifically on using a zram fallback device and how its performance compares to a similar zswap setup.