This commit is contained in:
Chris Cochrun 2022-12-28 10:01:12 -06:00
parent ad58a6fcb9
commit 53c4cee0a5
14 changed files with 3234 additions and 1691 deletions

View file

@ -1,7 +1,20 @@
#!/bin/sh
#!/usr/bin/env bash
awesome-client "naughty.destroy_all_notifications()"
touch /tmp/vol
touch /tmp/ewwvol
echo on > /tmp/ewwvol
pamixer --allow-boost -i 5
pw-play /run/current-system/sw/share/sounds/freedesktop/stereo/audio-volume-change.oga
volume=$(pulsemixer --get-volume | awk '{print $1}')
notify-send $volume
volume=$(pulsemixer --get-volume | awk '{print $1}' | cut -c 1-2)
echo $volume >> /tmp/vol
ewwvol=$(cat /tmp/ewwvol)
eww open volume
sleep 3
if [[ ewwvol == "on" ]]; then
fi
eww close volume