aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/ddvk
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-08-20 14:06:41 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-08-20 14:06:41 +0300
commitf4282e5a6a437acdc76b16049cb35eb14256913a (patch)
tree93e72f2b1f7ea669ae3f0200971b3d35564fff7a /dotfiles/.local/bin/ddvk
parentbddebc4144b1262d40d6fd26d5e98aeb51b0202f (diff)
downloadswayrice-f4282e5a6a437acdc76b16049cb35eb14256913a.tar.gz
swayrice-f4282e5a6a437acdc76b16049cb35eb14256913a.zip
foot: sound alert
Retarded ffplay started drawing a gui window after an update. Added -nodisp flag.
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
-