aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/ddvk
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-09-09 00:54:15 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-09-09 00:54:15 +0300
commit871833b7b7f5d2ebf228aa63cb0f08d70a3e5076 (patch)
tree9f575f3f4eb9da2754276037be825db962b543ed /dotfiles/.local/bin/ddvk
parentdca7f07af96e19d6603b46a7ead876cf96da32c7 (diff)
parentf4282e5a6a437acdc76b16049cb35eb14256913a (diff)
downloadswayrice-871833b7b7f5d2ebf228aa63cb0f08d70a3e5076.tar.gz
swayrice-871833b7b7f5d2ebf228aa63cb0f08d70a3e5076.zip
Merge branch 'master' of git.yaroslavps.com:public/configs/swayrice
Diffstat (limited to 'dotfiles/.local/bin/ddvk')
-rwxr-xr-xdotfiles/.local/bin/ddvk12
1 files changed, 0 insertions, 12 deletions
diff --git a/dotfiles/.local/bin/ddvk b/dotfiles/.local/bin/ddvk
deleted file mode 100755
index 1161f3e..0000000
--- a/dotfiles/.local/bin/ddvk
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-if pidof vk > /dev/null; then
- if [ -z $(swaymsg -t get_tree | grep -B 6 'vk' | head -n 1 | grep 'true') ]; then
- swaymsg '[instance="vk"] scratchpad show'
- else
- swaymsg '[instance="vk"] move scratchpad'
- fi
-else
- vk-messenger
-fi
-