aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2019-03-03 12:38:05 -0500
committeremersion <contact@emersion.fr>2019-03-03 18:47:32 +0100
commita053823f39c0ea72f3d3763e7c1e0f18ab9c4d61 (patch)
tree7a74f9767c149acba8d145bde2b10753a61bc4ae /sway
parent23f075e71d985754effde5372f4242ddb09cbbc0 (diff)
downloadsway-a053823f39c0ea72f3d3763e7c1e0f18ab9c4d61.tar.xz
sway.1.scd: document environment vars set by sway
This just documents the few environment variables set by sway in sway.1.scd
Diffstat (limited to 'sway')
-rw-r--r--sway/sway.1.scd21
1 files changed, 21 insertions, 0 deletions
diff --git a/sway/sway.1.scd b/sway/sway.1.scd
index cfb4817a..f8820c4e 100644
--- a/sway/sway.1.scd
+++ b/sway/sway.1.scd
@@ -80,6 +80,27 @@ _XKB\_DEFAULT\_VARIANT_, _XKB\_DEFAULT\_OPTIONS_
preferred way to configure the keyboard is via the configuration file, see
*sway-input*(5).
+The following environment variables are set by sway:
+
+_DISPLAY_
+ If compiled with Xwayland support and Xwayland is not disabled by the
+ config, this will be set to the name of the X display used for Xwayland
+
+_I3SOCK_
+ For compatibility with i3, specifies the path to the sway IPC socket
+
+_SWAYSOCK_
+ Specifies the path to the sway IPC socket
+
+_WAYLAND_DISPLAY_
+ Specifies the name of the Wayland display that sway is running on
+
+_XCURSOR_SIZE_
+ Specifies the configured cursor size
+
+_XCURSOR_THEME_
+ Specifies the configured cursor theme
+
# AUTHORS
Maintained by Drew DeVault <sir@cmpwn.com>, who is assisted by other open