beanaroo / display-visor

Bash script for applying a pre-defined Xorg monitor layout. Useful for tiling window manager users.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A more appropriate wake-up hook.

beanaroo opened this issue · comments

A working systemd-sleep hook is included but as per its man page:

Note that scripts or binaries dropped in /usr/lib/systemd/system-sleep/ are intended
for local use only and should be considered hacks. If applications want to be notified
of system suspend/hibernation and resume, there are much nicer interfaces available.

I have searched for "nicer interfaces" but I cannot find a simple or straight-forward bash implementation.
I also don't want to add another dependency unless it's really worth it. Open to suggestions.