aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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