Files
dotfiles/dot_local/bin/executable_tg_up.sh
T

9 lines
151 B
Bash
Executable File

#!/bin/bash
WID=$(kdotool search --name "Telegram" | head -1)
if [ -n "$WID" ]; then
kdotool windowactivate "$WID"
else
org.telegram.desktop &
fi