WLOPM(1)

πŸ“¦
version 1.0.0 Β· 2 versions
, in alpine 3.24, arch rolling, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu resolute, ubuntu stonking

πŸ’… WLOPM β€” bestie's guide to Wayland output power management πŸ’…

okay so. this is the wlopm page, from the General Commands Manual section (section 1, obvi). it's a tiny lil command but it does exactly one thing and it slays at it. let's get into it 🫢


✨ NAME ✨

wlopm β€” Wayland output power management πŸŒ™βš‘

like... it turns your monitors on and off. that's the whole vibe. iconic behaviour honestly.


🌸 SYNOPSIS 🌸

wlopm [-j] [--json] [--on output-name] [--off output-name]
      [--toggle output-name]

wlopm [-h] [--help]

wlopm [-v] [--version]

three whole moods. do the thing, get help, or get the version. pick your fighter πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

wlopm is a simple client implementing zwlr-output-power-management-v1. no cap, that's genuinely the entire personality. it talks to that protocol so you don't have to πŸ’…

and here's the cute part: if you define no operations at all, wlopm will just list all outputs and their current power modes. it's giving "i'm not doing anything today, just observing" 😌 and honestly? valid.


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” print help and dip. exit immediately, no notes πŸ™ˆ
  • -v, --version β€” print version and exit. the receipts, bestie πŸ“œβœ¨
  • -j, --json β€” enable JSON formatting for listing outputs and for errors encountered while trying to set their power modes. yes, even the oopsies come out as JSON. so organized πŸ’€
  • --on output-name β€” set the power mode of the output to on. wakey wakey 🌞
  • --off output-name β€” set the power mode of the output to off. nap time 😴
  • --toggle output-name β€” toggle the power mode of the output. chaos mode, flip the switch πŸ”„

🌈 OUTPUT NAMES 🌈

okay important tea β˜• β€” output names are compositor dependent. so like, don't come for me if your names look different than someone else's, every compositor names its babies differently. iykyk.

and here's the ✨ magic ✨: if instead of an output name you pass * as the parameter to an operation, wlopm will do the operation for all discovered outputs. one lil star and every single display obeys. main character energy fr fr πŸ‘‘


πŸ‘‘ AUTHOR πŸ‘‘

Leon Henrik Plickat

give them their flowers πŸ’ periodt.


lowkey reminder bestie: names come from your compositor, and * hits everything, so double-check before you toggle a whole wall of monitors into the void πŸ’€

and that's the page!! written by git.sr.ht/~leon_plickat/wlopm, dated 2021-07-17 β€” go drink some water and power-cycle responsibly πŸ’œβœ¨