diff options
author | Shubham Saini <shubham6405@gmail.com> | 2020-04-29 17:30:14 +0000 |
---|---|---|
committer | Shubham Saini <shubham6405@gmail.com> | 2020-04-29 17:30:14 +0000 |
commit | 2f4ae46af302ca41fc2a5bbb453b2ecf78f2e903 (patch) | |
tree | b6585d5765f2860914b4cb884e1607b153a98808 /bin | |
parent | fb2a1589d31a01621b0335ba5e48bbf218935367 (diff) |
nice
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/.local/bin/statusbar | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/.local/bin/statusbar b/bin/.local/bin/statusbar index 31f9be0..433b4d5 100755 --- a/bin/.local/bin/statusbar +++ b/bin/.local/bin/statusbar | |||
@@ -4,8 +4,8 @@ BOLD='\033[1m' | |||
4 | BB='\033[00m' | 4 | BB='\033[00m' |
5 | 5 | ||
6 | vol(){ | 6 | vol(){ |
7 | vol=$(amixer get Master | awk -F'[][]' 'END{ print $2 }') | 7 | vol=$(pulsemixer --get-volume | awk '{print $1}') |
8 | echo -e "+@fg=1;vol+@fg=0; $vol " | 8 | echo -e "+@fg=1;vol+@fg=0; $vol% " |
9 | } | 9 | } |
10 | 10 | ||
11 | bat() { | 11 | bat() { |