From 2b49b18b069d46c3159a479105511bf527108ebf Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 9 May 2022 15:52:23 +0300 Subject: [PATCH] Add default title --- bashrc.d/title | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 bashrc.d/title diff --git a/bashrc.d/title b/bashrc.d/title new file mode 100644 index 0000000..344f6ef --- /dev/null +++ b/bashrc.d/title @@ -0,0 +1,5 @@ +#!/bin/bash +xtitle_cmd="$(which screen)" +if [ -n "${xtitle_cmd}" ]; then + xtitle "${USER}@$(hostname -s)" +fi \ No newline at end of file