From 6069676c8e2cc4eb8b606369eea52cefec491195 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Mon, 30 Mar 2020 04:17:07 +0300 Subject: mf telegram changing process name again --- dotfiles/.local/bin/ddtelegram | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dotfiles/.local') diff --git a/dotfiles/.local/bin/ddtelegram b/dotfiles/.local/bin/ddtelegram index cc5028d..8ddff22 100755 --- a/dotfiles/.local/bin/ddtelegram +++ b/dotfiles/.local/bin/ddtelegram @@ -1,6 +1,6 @@ #!/bin/sh -if pidof telegram-desktop-bin > /dev/null; then +if pidof telegram-desktop > /dev/null; then if [ -z $(swaymsg -t get_tree | grep -A 1 'telegramdesktop' | tail -n 1 | grep 'true') ]; then swaymsg '[app_id="telegramdesktop"] scratchpad show' else -- cgit v1.2.3