[rofi] I wrote a little rofi launcher to hot-switch xrandr configs

https://github.com/wesker-albert/dots/blob/master/.local/bin/randr-layout-chooser

cross-posted from: https://lemmy.sdf.org/post/26139713

My laptop is my workstation, and find myself fairly regularly having to switch between display layouts.

I wrote this script to work in conjunction with arandr generated xrandr layouts that are slightly, manually modified to also use xwallpaper to set per-layout wallpapers.

Also included is a systemd service that loads the previously chosen config at startup.

There's a little more info in the root README, as well as the most recent commit, for a deeper dive.

24 points · 3 comments · view on lemmy.world

3 Comments

tutus@sh.itjust.works · 2 pts · 1y (2 replies)

I'm not sure what the difference between this and autorandr are?

wesker@lemmy.sdf.org · 2 pts · 1y (1 reply)

I didn't make autorandr.

minimalfootprint@discuss.tchncs.de · 2 pts · 1y

Good answer.