2013/4/5 BRAGA, Bruno <[email protected]>: > I basically have a bindsym to Ctrl+Alt+L for i3lock, and could easily wrap > into a script to do a pre-process hook to do stuff then call i3lock... but > once i3lock finishes (I type in the correct password), I can not reach that > event to run a post-process script, can I?
You can either run i3lock in the foreground (would disable the possiblity to suspend etc. after locking); or save i3lock's pid (after forking) and use waitpid to wait for it to exit. -- Tucos
