Cleanup dotfiles, fixed permissions

Also updated i3 config
This commit is contained in:
Tristaan
2021-01-19 17:19:26 +01:00
parent dc12ab6e04
commit f21bbe6edb
62 changed files with 35 additions and 991 deletions

View File

@@ -0,0 +1,18 @@
#!/bin/bash
if [ "$1" == "up" ]
then
pulsemixer --change-volume +5
TEXT="Volume: $(pulsemixer --get-volume | cut -d' ' -f 1 | sed 's/\(\[\|\]\)//g')"
elif [ "$1" == "down" ]
then
pulsemixer --change-volume -5
TEXT="Volume: $(pulsemixer --get-volume | cut -d' ' -f 1 | sed 's/\(\[\|\]\)//g')"
elif [ "$1" == "mute" ]
then
pulsemixer --toggle-mute
TEXT="Mute: $(pulsemixer --get-mute | cut -d' ' -f 1 | sed 's/\(\[\|\]\)//g')"
else
echo "usage volume_set.sh {up|down|mute}"
fi
dunstify -r 33223 "Volume changed" "$TEXT"