my_bashrc/bashrc.d/title

5 lines
120 B
Text
Raw Normal View History

2022-05-09 14:52:23 +02:00
#!/bin/bash
2022-05-09 15:11:16 +02:00
xtitle_cmd="$(which xtitle)"
2022-05-09 14:52:23 +02:00
if [ -n "${xtitle_cmd}" ]; then
2022-05-09 14:53:01 +02:00
"${xtitle_cmd}" "${USER}@$(hostname -s)"
2022-05-09 14:52:23 +02:00
fi