diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-09-09 00:54:15 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-09-09 00:54:15 +0300 |
commit | 871833b7b7f5d2ebf228aa63cb0f08d70a3e5076 (patch) | |
tree | 9f575f3f4eb9da2754276037be825db962b543ed /dotfiles/.local/bin | |
parent | dca7f07af96e19d6603b46a7ead876cf96da32c7 (diff) | |
parent | f4282e5a6a437acdc76b16049cb35eb14256913a (diff) | |
download | swayrice-871833b7b7f5d2ebf228aa63cb0f08d70a3e5076.tar.gz swayrice-871833b7b7f5d2ebf228aa63cb0f08d70a3e5076.zip |
Merge branch 'master' of git.yaroslavps.com:public/configs/swayrice
Diffstat (limited to 'dotfiles/.local/bin')
-rwxr-xr-x | dotfiles/.local/bin/ddvk | 12 | ||||
-rwxr-xr-x | dotfiles/.local/bin/vifm_launch | 15 |
2 files changed, 0 insertions, 27 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 - diff --git a/dotfiles/.local/bin/vifm_launch b/dotfiles/.local/bin/vifm_launch deleted file mode 100755 index 07b6473..0000000 --- a/dotfiles/.local/bin/vifm_launch +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -export FIFO_UEBERZUG="/tmp/vifm-ueberzug-${PPID}" - -function cleanup { - rm "$FIFO_UEBERZUG" 2>/dev/null - pkill -P $$ 2>/dev/null -} - -rm "$FIFO_UEBERZUG" 2>/dev/null -mkfifo "$FIFO_UEBERZUG" -trap cleanup EXIT -tail --follow "$FIFO_UEBERZUG" | ueberzug layer --silent --parser bash & - -vifm -cleanup |