aboutsummaryrefslogtreecommitdiff
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
parentdca7f07af96e19d6603b46a7ead876cf96da32c7 (diff)
parentf4282e5a6a437acdc76b16049cb35eb14256913a (diff)
downloadswayrice-871833b7b7f5d2ebf228aa63cb0f08d70a3e5076.tar.gz
swayrice-871833b7b7f5d2ebf228aa63cb0f08d70a3e5076.zip
Merge branch 'master' of git.yaroslavps.com:public/configs/swayrice
-rw-r--r--dotfiles/.config/foot/foot.ini2
-rwxr-xr-xdotfiles/.local/bin/ddvk12
-rwxr-xr-xdotfiles/.local/bin/vifm_launch15
3 files changed, 1 insertions, 28 deletions
diff --git a/dotfiles/.config/foot/foot.ini b/dotfiles/.config/foot/foot.ini
index d08eeb5..7230d0e 100644
--- a/dotfiles/.config/foot/foot.ini
+++ b/dotfiles/.config/foot/foot.ini
@@ -33,5 +33,5 @@ osc8-underline = always
[bell]
urgent = yes
-command = mpv /home/yaroslav/.local/share/soundalerts/ding.ogg
+command = ffplay -nodisp -loglevel 8 -autoexit -i /home/yaroslav/.local/share/soundalerts/ding.ogg
command-focused = yes
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