src: Fixed correct x display variable set.
src: Fixed correct x display variable set.

Fixes:
- Fixed ps command syntax.
- Fixed varname misspelling
- Added for-loop to extract display-var if several xorg processes
- Replaced prgrep with posix commands.

Ventto/xpub