yes, I'm very commit lazy

This commit is contained in:
2023-03-19 19:22:02 +01:00
parent 4f3fb75687
commit f399235db0
107 changed files with 11120 additions and 10906 deletions

View File

@@ -1,27 +0,0 @@
#!/bin/bash
SINK=$(LC_ALL=C pactl get-default-source)
case $1 in
"volume")
echo $(LC_ALL=C pactl get-source-volume $SINK | awk '{print $5}')
;;
"mute")
echo $(LC_ALL=C pactl get-source-mute $SINK)
;;
"toggle_mute")
$(LC_ALL=C pactl set-source-mute $SINK toggle)
;;
"set_volume")
$(LC_ALL=C pactl set-source-volume $SINK $2)
;;
"set_source")
$(LC_ALL=C pactl set-default-source $2)
;;
esac

View File

@@ -23,8 +23,8 @@ case $1 in
else
if [[ -f "$iconPath" ]];
then
cp "$iconPath" "$userIconPath$USER.png"
printf "$userIconPath$USER.png"
cp "$iconPath" $userIconPath"userpfp.png"
printf $userIconPath"userpfp.png"
exit;
fi
fi

View File

@@ -1,16 +0,0 @@
#!/bin/bash
case $1 in
"volume")
echo $(LC_ALL=C pactl get-sink-volume @DEFAULT_SINK@ | awk '{print $5}')
;;
"mute")
echo $(LC_ALL=C pactl get-sink-mute @DEFAULT_SINK@)
;;
"set_sink")
$(LC_ALL=C pactl set-default-sink $2)
;;
esac