From 59ce8fdd72a5c9dbcf55ad8d7e13ed142461bb87 Mon Sep 17 00:00:00 2001 From: shark Date: Sun, 2 Dec 2018 23:30:36 +0000 Subject: [PATCH] change to better notifications --- .config/fish/config.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index b5915ae..8be84c5 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -28,11 +28,11 @@ function ss end function getvol - killall notify-osd set vol (pactl list sinks | grep '^[[:space:]]Volume:' | head -n 1 | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,') if [ $vol -gt '100' ] set vol 100 pactl set-sink-volume 0 100% end - notify-send -t 50 'Volume: '$vol'%' + twmnc --remote hide + twmnc -t "Volume: $vol" end \ No newline at end of file