diff options
| author | Timmy Keller <tjk@tjkeller.xyz> | 2023-01-17 21:42:30 -0600 | 
|---|---|---|
| committer | Timmy Keller <tjk@tjkeller.xyz> | 2023-01-17 21:42:30 -0600 | 
| commit | 3e14d5d8d88b9b3f806cc14f55258b067e4aeed3 (patch) | |
| tree | f2870d3fcb3014e130fdf70787798cff2412007c | |
| parent | 4b773f86a6923119687e31fda109ca63ab2f707b (diff) | |
| download | scripts-3e14d5d8d88b9b3f806cc14f55258b067e4aeed3.tar.xz scripts-3e14d5d8d88b9b3f806cc14f55258b067e4aeed3.zip  | |
volume script
| -rwxr-xr-x | bar/volume | 4 | 
1 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ FS="[][]"  while (cmd | getline) {  	if (NF > 1) {  		vol=int($2) -		if ($6 == "off") +		if ($4 == "off")  			icon=""  		else if (vol > 70)  			icon="" @@ -17,7 +17,7 @@ while (cmd | getline) {  		else  			icon=""  		#printf "%s %s | %05.2fdB", icon, $2, $4 -		print icon" "$2" | "$4 +		print icon" "$2  	}  }  }  | 
