fix: audio control and implement switch to bluettooth and internal
This commit is contained in:
parent
07b5b7dc15
commit
db2c08d240
4 changed files with 71 additions and 14 deletions
|
|
@ -84,7 +84,6 @@ fi
|
|||
hoverGet() {
|
||||
NAME="$1"
|
||||
EWW_BIN="$HOME/.local/bin/eww"
|
||||
STORE="$HOME/.cache/cache.txt"
|
||||
if [[ -f "$STORE" ]]; then
|
||||
rm "$STORE"
|
||||
${EWW_BIN} -c $HOME/.config/eww close "$NAME"
|
||||
|
|
@ -92,14 +91,13 @@ fi
|
|||
}
|
||||
|
||||
hoverCreate() {
|
||||
STORE="$HOME/.cache/cache.txt"
|
||||
if [[ ! -f "$STORE" ]]; then
|
||||
touch "$STORE"
|
||||
else
|
||||
echo "failure!"
|
||||
fi
|
||||
}
|
||||
|
||||
STORE=true
|
||||
if [ "$1" = "calendar" ]; then
|
||||
calendar
|
||||
elif [ "$1" = "system" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue