diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-01-28 00:00:27 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-01-28 00:00:27 +0300 |
commit | 2cb2af9d66ef98877ffee2f588c7a85036750d55 (patch) | |
tree | e7d108726391f67d60058d4ec4556271d38fb4c2 /dotfiles/.local/bin | |
parent | 3a3a9e672485216ed4e1281ab0ed8883d138eaa4 (diff) | |
download | swayrice-2cb2af9d66ef98877ffee2f588c7a85036750d55.tar.gz swayrice-2cb2af9d66ef98877ffee2f588c7a85036750d55.zip |
fixed telegram scratchpad script, broken after telegram update
Diffstat (limited to 'dotfiles/.local/bin')
-rwxr-xr-x | dotfiles/.local/bin/ddtelegram | 2 |
1 files changed, 1 insertions, 1 deletions
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 |