move project to ~/.config/i3blocks/

This commit is contained in:
koksnuss
2018-04-16 13:10:45 +02:00
parent 6eb3d12207
commit 8f9ea8138b
7 changed files with 72 additions and 1 deletions

5
audio Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
sl=$(amixer get Master | tail -n 1)
status=$(echo "${sl}" | grep -wo "on")
volume=$(echo "${sl}" | awk -F ' ' '{print $5}' | tr -d '[]%')
echo ${volume}