updates
This commit is contained in:
parent
ad58a6fcb9
commit
53c4cee0a5
14 changed files with 3234 additions and 1691 deletions
|
@ -1,7 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
touch /tmp/vol
|
||||
awesome-client "naughty.destroy_all_notifications()"
|
||||
pamixer --allow-boost -d 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
|
||||
|
||||
eww open volume
|
||||
|
||||
sleep 3
|
||||
|
||||
eww close volume
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue