Skip to content

Merge some wayland features into dmscripts (READ NOTES!!)

HostGrady requested to merge feature/wayland into master

This is important. I have made major changes which WILL break DTOS until the dependency issues are fixed.

dm-setbg has had a major rewrite and it now has a dependency on a universal image viewer called imv. Simply push p to change the wallpaper, it's as easy as that. This change is not permanent so I send the user a notification to let them know.

Imv is very scriptable, p sends output to stdout so you can modify each line on the fly with a read loop. I recommend looking into it for your own script writing.

dm-sounds has had a dependency change, now it relies on mpv. ffplay crashes wayland, it's worse than other x11 apps which usually just fail. Because of this, mpv has once again been established as a default. This could crash some users if they haven't cleaned the cache for example.

dm-logout now works on wayland, no issues there.

I would 100% add a post installation hook warning of these changes.

dm-logout should work but some testing from wayland users with display managers would be nice as I don't have it so I cannot test dm-logout.

Finally, this branch will not be closed this is intentional, I will be attempting to fix some of the other scripts to make porting to wayland easier.

  • dm-logout
  • dm-setbg
  • dm-sounds
  • dm-record
  • dm-maim

Record and maim are non-trivial. They probably need to be rewritten from scratch and would be very hard to do so, I am debating just making a wayland port for the script and leaving these scripts as broken.

Edited by HostGrady

Merge request reports