From 2cb2af9d66ef98877ffee2f588c7a85036750d55 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Tue, 28 Jan 2020 00:00:27 +0300 Subject: fixed telegram scratchpad script, broken after telegram update --- dotfiles/.local/bin/ddtelegram | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/.local/bin/ddtelegram b/dotfiles/.local/bin/ddtelegram index 8ddff22..cc5028d 100755 --- a/dotfiles/.local/bin/ddtelegram +++ b/dotfiles/.local/bin/ddtelegram @@ -1,6 +1,6 @@ #!/bin/sh -if pidof telegram-desktop > /dev/null; then +if pidof telegram-desktop-bin > /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