From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 134DC1F953 for ; Tue, 11 Jan 2022 18:14:58 +0000 (UTC) Received: from localhost ([::1]:44420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7Lfc-0007vq-P9 for e@80x24.org; Tue, 11 Jan 2022 13:14:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7Lfb-0007ug-8e for dtas-all@nongnu.org; Tue, 11 Jan 2022 13:14:55 -0500 Received: from [2a00:1450:4864:20::433] (port=33603 helo=mail-wr1-x433.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7LfT-0001IX-8L for dtas-all@nongnu.org; Tue, 11 Jan 2022 13:14:54 -0500 Received: by mail-wr1-x433.google.com with SMTP id d19so4057550wrb.0 for ; Tue, 11 Jan 2022 10:14:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=GlDJUkulD1frPInJc3rfDoS1GrpMvCsesqTL3gNNrOc=; b=Q89Wg7FfMVaqwZigBxHMimIM3x3XfwpzXlK5qppK2u3a4aRKg16DYBeWrxtCvcwtld UnuVFsDANIfxgmkp9omVivRG2nnpS9b5v19PdlzxhVfMEfOZuhgxCmmEsKFmHiB3HEC8 cIB6nQ7mW9DZa9JEOz7KfnQ8eS65uVmeiE1bRs+qkYNlXXEPV+wzZGjlp7YA+P4byiKR x2cquPMAIy7Tz0WU2ZLSvYzXyC4HOizgrdcLdFQlLLlO42+oeLlBKNWzp7huhrBWM7nu sAgqFwuCmDTBXysofDBJOqVu42XS+85kIHs7kSKKjbc7bSFgekrWrMmQK+FFC6BsFFUO ML0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=GlDJUkulD1frPInJc3rfDoS1GrpMvCsesqTL3gNNrOc=; b=lnGmf1yUzXU2rNll6b49+JXBJz19k/qmQyh5t7F3diB4nUrGMrArGo2nDGo7BMcptP 9NC04pxEMiqXVz5aKicF/HNON4a+Xf5n4A4LrpP3L2Dll6Y77j0wuM/40l+VFCEyCy5h Hwb6+pAukQcF13b7YiD9fQ5/PX89tX8uRGreTpCKDXRPIBxx2htPnRtEo2aHM2XO1SOP 8OQnqcMZHpwehjUW0EhpRWOZbO7SNCHXhyPQx5X5nfLiFGvLrkKJCS2DkhlWst3Nd8X8 2MqfDYRnDW7rks5Q/Wos5KxPOhO/mUUPhaBZ2KT+EypNk884BNHSBn9kam66zbn3VDSy BYsA== X-Gm-Message-State: AOAM531it/XnZpHFJQ3AGhAofP0HwCSsZdA/0IcqCjbia9lNsQslEXvn gbwOaZRfa0t+v98SC9fqsWU= X-Google-Smtp-Source: ABdhPJxZk9s87dKXkWZ4Oi6JvUwC8punTtlUB5w/Zb7Me12+FE8GSarK4/q9tP2rsBP0LdknXzbx7Q== X-Received: by 2002:a5d:6881:: with SMTP id h1mr4782135wru.250.1641924880681; Tue, 11 Jan 2022 10:14:40 -0800 (PST) Received: from localhost (188.30.176.174.threembb.co.uk. [188.30.176.174]) by smtp.gmail.com with ESMTPSA id m3sm9752220wrv.95.2022.01.11.10.14.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 10:14:40 -0800 (PST) Date: Tue, 11 Jan 2022 18:14:36 +0000 From: James Rowe To: Eric Wong Cc: dtas-all@nongnu.org Subject: Re: [PATCH 3/4] dtas-console: set X11 terminal title iff DISPLAY is set Message-ID: <20220111181436.nhzwu5zmxafzk2wh@gmail.com> Mail-Followup-To: Eric Wong , dtas-all@nongnu.org References: <20220107053544.31240-1-e@80x24.org> <20220107053544.31240-4-e@80x24.org> <20220108165914.iukehydobheiii2k@gmail.com> <20220111172959.GA20949@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220111172959.GA20949@dcvr> User-Agent: NeoMutt/20201127 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::433 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=jnrowe@gmail.com; helo=mail-wr1-x433.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: dtas-all@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: duct tape audio suite List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Copy: yes Errors-To: dtas-all-bounces+e=80x24.org@nongnu.org Sender: "dtas-all" * Eric Wong (e@80x24.org) wrote: > James Rowe wrote: > > * Eric Wong (e@80x24.org) wrote: > > > +set_title = ENV['DISPLAY'] ? $stdout : nil > > > > Perhaps consider testing for $WAYLAND_DISPLAY too? > > Does the following work for you? Yes, thanks. FTR I’m running foot¹ on river², but other more common compositors like sway³ also support builds without Xwayland too. > [btw, please reply-to-all, since subscription is optional and it avoids > nongnu.org being a SPOF, thanks] Bah, it always takes me a couple of messages to get back in the groove here. Pinky swear I’ll set up a folder-hook before I send another mail. Thanks, James ¹ https://codeberg.org/dnkl/foot ² https://github.com/riverwm/river/ 3 http://swaywm.org