1>Says it can also print the current DPI, so I imagine that it’d be pretty straightforward to do a shell script of maybe three lines or so that cycles resolution through your favored resolutions when invoked. Doesn’t show an example of the exact output of the command, though, so I can’t tell you exactly what to run.
I installed it. The output from razer-cli --dpi print is just my dpi (1400).
11>I use Sway, and Sway can be configured to invoke commands when a button or key or whatever is pressed, so you’d just have it run said script.1
1I'm using Cinnamon, on Linux Mint