3 ms·
I’d be interested in switching to wayland but I have good knowledge of x11 cli tools - xrandr, xdotool, xwininfo, etc. is there an easy way to migrate this know
by hsbauauvhabzb 3y ago
I’d be interested in switching to wayland but I have good knowledge of x11 cli tools - xrandr, xdotool, xwininfo, etc. is there an easy way to migrate this knowledge and accompanying scripts?
- pzmarzly 3y agoIf you are scripting-heavy user, I recommend trying out one of WMs based on wlroots (or implementing its custom protocols). Core Wayland protocols are designed with security in mind, which doesn't necessarily let you have all the automation fun. wlroots protocols bring back most of X11 capabilities at the cost of having similar security model. https://github.com/solarkraft/awesome-wlroots https://github.com/solarkraft/awesome-wlroots is a pretty nice list of various CLI utils you can use. Sadly I don't think anyone aimed to 1:1 replicate APIs of xdotool etc, so you will need to change the syntax in your scripts a bit.
- JetSpiegel 3y agoxrandr: wdisplays, kanshi fpr automatic setup xdotool: ydotool, but it might miss some features xwininfo: this is compositor specific. Sway has swaymsg, that's what I use.