about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-01-11 18:19:21 +0000
committerEric Wong <e@80x24.org>2022-01-11 18:22:24 +0000
commit7cf055bb98a8be913ff3a2b03ef2ed2528e61db8 (patch)
tree252b5f6f95f4955db3bdcfd5e750e053575171d7
parent0103a33f7ef628709389c85fee74b6c5fcd57c74 (diff)
downloaddtas-7cf055bb98a8be913ff3a2b03ef2ed2528e61db8.tar.gz
Tested-by: James Rowe <jnrowe@gmail.com>
-rwxr-xr-xbin/dtas-console2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dtas-console b/bin/dtas-console
index 0e762bd..7a7ed6c 100755
--- a/bin/dtas-console
+++ b/bin/dtas-console
@@ -26,7 +26,7 @@ w.req_ok('watch')
 c = DTAS::UNIXClient.new
 cur = YAML.load(c.req('current'))
 readable = [ se, w, $stdin ]
-set_title = ENV['DISPLAY'] ? $stdout : nil
+set_title = (ENV['DISPLAY'] || ENV['WAYLAND_DISPLAY']) ? $stdout : nil
 
 # current rg mode
 rg_mode = DTAS::RGState::RG_MODE.keys.unshift("off")