package
0.0.0-20220611142855-c75633e8f939
Repository: https://github.com/vbsw/archive.git
Documentation: pkg.go.dev
# README
XDspl
About
XDspl prints the name of the display server, if it is running, otherwise "n.a." (not available). XDspl is programmed in Go and published at https://github.com/vbsw/xdspl.
Copyright
Copyright 2016 Vitali Baumtrok ([email protected])
XDspl is distributed under the terms of the Boost Software License, version 1.0. (See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
XDspl is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Boost Software License for more details.
Example A
Input
$ xdspl
Output
$ :0
If the display server is not running the output is
$ n.a.
Example B
Input
$ xdspl screens
Output
$ 2 1920x1080 1920x1080
If the display server is not running the output is
$ n.a.